Re: Confusion using git on svn server
- From
- Florian Weimer <fw@deneb.enyo.de>
- Date
- Jun 21, 2009, 09:32 UTC
- 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.