From: Zeeshan Ali (Khattak) Date: Sun, 15 Jul 2012 21:48:09 GMT Subject: Re: Support of '^' as alias for 'HEAD^' Message-ID: In-Reply-To: <500301BF.9080505@ira.uka.de> On Sun, Jul 15, 2012 at 8:45 PM, Holger Hellmuth wrote: > Am 15.07.2012 00:24, schrieb Zeeshan Ali (Khattak): > >> On Sun, Jul 15, 2012 at 12:26 AM, Junio C Hamano >> wrote: >>> >>> "Zeeshan Ali (Khattak)" writes: >>> >>>> What about '^' and '^^' that I suggested? > > > If you want a shortcut, you might try this: > > echo "ref: HEAD" > .git/h > > Then you can use 'h' instead of 'HEAD'. > > Tested it and it seemed to work. If not someone on this list surely will > correct me. Thanks, was hoping to have something thats supported out of the box in future git but I guess I can settle for a local hack too. :) -- Regards, Zeeshan Ali (Khattak) FSF member#5124