title: Rebase feature branch onto another feature branch
body: <p>I have two (private) feature branches that I'm working on.</p>
  
  <pre><code>a -- b -- c                  &lt;-- Master
       \     \
        \     d -- e           &lt;-- Branch1
         \
          f -- g               &lt;-- Branch2
  </code></pre>
  
  <p>After working on these branches a little while I've discovered that I need the changes from Branch2 in Branch1. I'd like to rebase the changes in Branch2 onto Branch1. I'd like to end up with the following:</p>
  
  <pre><code>a -- b -- c                  &lt;-- Master
             \
              d -- e -- f -- g &lt;-- Branch1
  </code></pre>
  
  <p>I'm pretty sure I need to rebase the second branch <em>onto</em> the first, but I'm not entirely sure about the correct syntax and which branch I should have checked out.</p>
  
  <p>Will this command produce the desired result?</p>
  
  <pre><code>(Branch1)$ git rebase --onto Branch1 Branch2
  </code></pre>