Re: Problems reverting (includes reverting a merge)
- From
- Alex Bennee <kernel-hacker@bennee.com>
- Date
- Jun 9, 2008, 09:00 UTC
- Message-ID
- <1213002019.26678.2.camel@pitcairn.cambridgebroadband.com>
- In-Reply-To
- <b1d95faa0806051045t67ea0f46r55cdaeb794dc2f5c@mail.gmail.com>
On Thu, 2008-06-05 at 10:45 -0700, jenny w wrote:
> What I'd really like to do is just zap the last 3 commits ... is there > another way to just make things the way they were before these patches > were applied?
Wouldn't git-reset --hard HEAD^^^ do what you want. It will rewind your tree to 3 commits bellow the current head, the --hard ensure your working tree is cleared out as well.
Show 6 quoted lines
> > Any help with any of the above would be greatly appreciated! > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
-- Alex, homepage: http://www.bennee.com/~alex/ Envy is a pain of mind that successful men cause their neighbors. -- Onasander