From: Florian Weimer Date: Sun, 21 Jun 2009 09:32:54 GMT Subject: Re: Confusion using git on svn server Message-ID: <87ws763pa1.fsf@mid.deneb.enyo.de> In-Reply-To: <4A3DF8BE.2050504@gmail.com> * 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.