All of lore.kernel.org
 help / color / mirror / Atom feed
* Stupid question on getting branch from yesterday
@ 2007-02-14 19:38 Bill Lear
  2007-02-14 19:49 ` Shawn O. Pearce
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Bill Lear @ 2007-02-14 19:38 UTC (permalink / raw)
  To: git

I have not yet figured this one out: I have not tagged anything, but
know that I checked in something lame sometime between now and two days
ago.  How do I get my working repo to be that as it was, say, yesterday?

Do I do:

% git log --since="2 days ago"

parse, the output for the commit I want, and then do

% git reset <SHA>

or would I do

% git reset --soft <SHA>

or something else?


Bill

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-02-14 21:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14 19:38 Stupid question on getting branch from yesterday Bill Lear
2007-02-14 19:49 ` Shawn O. Pearce
2007-02-14 19:54   ` Junio C Hamano
2007-02-14 20:24   ` Bill Lear
2007-02-14 20:28   ` Bill Lear
2007-02-14 20:36     ` Jeff King
2007-02-14 19:50 ` Junio C Hamano
2007-02-14 21:13 ` Linus Torvalds
2007-02-14 21:25   ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.