From: John Keeping Date: Mon, 10 Jun 2013 07:29:31 GMT Subject: Re: [PATCH v4 0/7] git send-email suppress-cc=self fixes Message-ID: <20130610072931.GH22905@serenity.lan> In-Reply-To: <20130610065324.GA26501@redhat.com> On Mon, Jun 10, 2013 at 09:53:24AM +0300, Michael S. Tsirkin wrote: > I vaguely remember there was some way to say > "head of the remote I am tracking" - but I could not find it. > Where are all the tricks like foo^{} documented? gitrevisions(7) is what you're looking for here. In this case I think you want '@{upstream}' or its short form '@{u}'. > I tried fgrep '{}' Documentation/*txt and it only returned > git-show-ref.txt which isn't really informative ... '{' and '}' need to be escaped in AsciiDoc so you have to grep for '\\{\\}'.