<div dir="ltr">That is:<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">git rebase -i HEAD~2</span><br></div><div><br></div><div>is probably what you want...</div><div><br></div>
<div>Use 3 if you wanted the 3rd commit back.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 22, 2013 at 2:55 PM, Aron Ahmadia <span dir="ltr"><<a href="mailto:aron@ahmadia.net" target="_blank">aron@ahmadia.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">git rebase -i HEAD~2/3</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Oct 22, 2013 at 2:53 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
  I would like to put together the last two commits in a branch, how do I do this?<br>
<br>
 git rebase -i<br>
<br>
doesn't help because it only handles the last commit. How do I tell git to go back one commit in the rebase?<br>
<br>
   Thanks<br>
<span><font color="#888888"><br>
   Barry<br>
<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>