From: Holger Hellmuth <hellmuth@ira.uka.de>
To: "Zeeshan Ali (Khattak)" <zeeshanak@gnome.org>
Cc: "Junio C Hamano" <gitster@pobox.com>,
"Stefan Näwe" <stefan.naewe@gmail.com>,
git@vger.kernel.org
Subject: Re: Support of '^' as alias for 'HEAD^'
Date: Sun, 15 Jul 2012 19:45:35 +0200 [thread overview]
Message-ID: <500301BF.9080505@ira.uka.de> (raw)
In-Reply-To: <CAAa3hFMNf_wA22ngypSu379jr31r3L3yAjTkvDUd_L-mVwPJkA@mail.gmail.com>
Am 15.07.2012 00:24, schrieb Zeeshan Ali (Khattak):
> On Sun, Jul 15, 2012 at 12:26 AM, Junio C Hamano<gitster@pobox.com> wrote:
>> "Zeeshan Ali (Khattak)"<zeeshanak@gnome.org> 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.
next prev parent reply other threads:[~2012-07-15 17:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-14 0:39 Support of '^' as alias for 'HEAD^' Zeeshan Ali (Khattak)
2012-07-14 9:48 ` Stefan Näwe
2012-07-14 20:17 ` Junio C Hamano
2012-07-14 20:34 ` Junio C Hamano
2012-07-14 20:49 ` Zeeshan Ali (Khattak)
2012-07-14 21:26 ` Junio C Hamano
2012-07-14 22:24 ` Zeeshan Ali (Khattak)
2012-07-15 7:44 ` Jeff King
2012-07-15 17:45 ` Holger Hellmuth [this message]
2012-07-15 21:48 ` Zeeshan Ali (Khattak)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=500301BF.9080505@ira.uka.de \
--to=hellmuth@ira.uka.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=stefan.naewe@gmail.com \
--cc=zeeshanak@gnome.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).