Subject: Re: Confusion using git on svn server

From: Florian Weimer <[email-masked]>
Date: Sun, 21 Jun 2009 11:32:54 +0200

* Matthieu Stigler:

> So I just added a minor third commit in order to remove the two
> first. Is there a better way to do than this workaround? Something
> with git rebase --onto (two last?)

If you want to remove the last two commits, you can use "git reset
HEAD^^".  This moves your working copy (and the associated master
branch) back in time.