Re: get-upstream
- From
Ramana Kumar <ramana.kumar@gmail.com>
- Date
- Sep 23, 2010, 04:16 UTC
- Message-ID
- <AANLkTi=QnP0CUCU=6fR50UzphnVMVvmfe9mkqpf1NHLt@mail.gmail.com>
- In-Reply-To
- <AANLkTikYnj_00Pdsm+QM1=kvqMpeKDCeOOqOS0XEwMXg@mail.gmail.com>
Thanks Pat - that's awesome. Is there a git shortcut for removing the refs/remotes or refs/heads prefix? (I know I can just use other progs for that too)
On Thu, Sep 23, 2010 at 2:15 PM, Pat Notz <patnotz@gmail.com> wrote:
Show 7 quoted lines
> On Wed, Sep 22, 2010 at 10:05 PM, Pat Notz <patnotz@gmail.com> wrote:
>> $ git rev-parse --symbolic-full-name @{upstream}
>
> In all fairness, the @{upstream} syntax requires git >= 1.7.0
>
> http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.0.txt
>