title: Git: How to cherry-pick a commit without all previous history
body: <p>I want to add some specific changes from a specific commit in my <code>current</code> repo to my <code>upstream</code> repo.</p>
  
  <p>Running something like this:
  <code>git push upstream &lt;commit SHA&gt;:&lt;remotebranchname&gt;</code></p>
  
  <p>adds the commit plus all the previous changes</p>
  
  <p>Running something like </p>
  
  <pre><code>git checkout -b new-branch 
  git pull &lt;remote&gt; &lt;upstream branch&gt; branch is
  git cherry-pick &lt;commit hash&gt;
  git push &lt;remote&gt; new-branch
  </code></pre>
  
  <p>Also writes all the previous changes.</p>
  
  <p>I just want to write the specific changes of that commit into the <code>upstream</code> repo, so it does not include the changes made by the previous commits in my <code>current</code> repo, which are not in the <code>upstream</code>.</p>
  
  <p>There's lots of info on StackOverflow about <code>cherry-pick</code> and <code>rebase</code> but none answers this very specific question.  </p>