Re: Stupid question on getting branch from yesterday
- From
Bill Lear <rael@zopyra.com>
- Date
- Feb 14, 2007, 20:28 UTC
- Message-ID
- <17875.28901.705687.843342@lisa.zopyra.com>
- In-Reply-To
- <20070214194919.GE28290@spearce.org>
On Wednesday, February 14, 2007 at 14:49:19 (-0500) Shawn O. Pearce writes:
>... >Use `git checkout <SHA>` which will detach your HEAD and seek to >the commit, leaving your current commit alone. Later you can get >back by `git checkout oldbranch`.
BTW, we are still using 1.4.4.1. This will work with that?
Another BTW: this seems very similar to something that you would tackle with git bisect (haven't used that yet), but as I understand it, git bisect works on tags(??).
Sort of what I had in mind:
% git bisect start % git bisect good --date="2 days ago" % git bisect bad master [...]
Bill