From: Johannes Schindelin Date: Thu, 22 Feb 2007 20:53:57 GMT Subject: Re: How to say HEAD~"all the way back - 1" Message-ID: In-Reply-To: <20070222204737.GC18622@fieldses.org> Hi, On Thu, 22 Feb 2007, J. Bruce Fields wrote: > I can do something like > > git rev-list origin..topic | tail -2 | head -1 > > but in practice it's faster just to fire up gitk origin.. and > cut-n-paste object id's. Or something like git rev-list --reverse origin..topic | sed -n 2p But that's even longer! (Although conceptually shorter...) Ciao, Dscho