Re: [TuxOnIce-devel] How do you "back out" a "git pull"?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nigel Cunningham
Date:  
To: Kenneth Crudup
CC: tuxonice-devel
Subject: Re: [TuxOnIce-devel] How do you "back out" a "git pull"?
Hi.

On Wed, 2008-07-16 at 13:36 -0700, Kenneth Crudup wrote:
> Suppose I don't care for the latest git snapshot; is there a way to back
> it out (preferably by date/time) in a given tree?


Finding the commit you're after could be done by:
- using gitk and noting the (long) sha id
- making a (temporary) branch before pulling and then doing git checkout
-f {branchname}
- if the reference is tagged, using the tag (eg v2.6.26)

You could then git seek to the reference.

Hope that helps!

Nigel