Re: Support of '^' as alias for 'HEAD^'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 15.07.2012 00:24, schrieb Zeeshan Ali (Khattak):
On Sun, Jul 15, 2012 at 12:26 AM, Junio C Hamano<gitster@xxxxxxxxx>  wrote:
"Zeeshan Ali (Khattak)"<zeeshanak@xxxxxxxxx>  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.




--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]