Re: several quick questions
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 14, 2006, 20:34 UTC
- Message-ID
- <Pine.LNX.4.63.0602142133360.23093@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <43F231C5.5010205@op5.se>
Hi,
On Tue, 14 Feb 2006, Andreas Ericsson wrote:
> [...] it would be nifty (and I imagine not particularly hard) to teach > "git checkout" to check out any revision, and not just a branch.
You have to have a valid HEAD. So, you can create a throw-away branch easily:
git-checkout -f throw HEAD~56
Hth, Dscho