# can we allow -t abbreviation for --track in 'git branch'

4 messages from 2009-05-09 to 2009-05-10. Participants: Sitaram Chamarty, Nicolas Sebrecht, Junio C Hamano.
Thread: https://gitlist.dev/t/19253

## Sitaram Chamarty, 2009-05-09 08:50

Subject: can we allow -t abbreviation for --track in 'git branch'
Message-ID: <slrnh0agtv.4rv.sitaramc@sitaramc.homelinux.net>
URL: https://gitlist.dev/e/slrnh0agtv.4rv.sitaramc%40sitaramc.homelinux.net

```
Hello,

Would it make sense to teach "git branch" the short option
"-t" the same way that "git checkout" knows it, (ie., as an
abbreviation for "--track")?

I use both frequently, and often forget that in "git branch"
the short option does not work.

If people think it's OK I'll submit a patch (code and doc).

Regards,

Sitaram

```

## Nicolas Sebrecht, 2009-05-09 09:17

Subject: Re: can we allow -t abbreviation for --track in 'git branch'
Message-ID: <20090509091734.GA12926@vidovic>
URL: https://gitlist.dev/e/20090509091734.GA12926%40vidovic
In-Reply-To: <slrnh0agtv.4rv.sitaramc@sitaramc.homelinux.net>

```
The 09/05/09, Sitaram Chamarty wrote:
> Hello,
> 
> Would it make sense to teach "git branch" the short option
> "-t" the same way that "git checkout" knows it, (ie., as an
> abbreviation for "--track")?

It makes sense for me.

> I use both frequently, and often forget that in "git branch"
> the short option does not work.

Same here. :-)


-- 
Nicolas Sebrecht

```

## Junio C Hamano, 2009-05-09 15:15

Subject: Re: can we allow -t abbreviation for --track in 'git branch'
Message-ID: <7vab5m9ujb.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vab5m9ujb.fsf%40alter.siamese.dyndns.org
In-Reply-To: <slrnh0agtv.4rv.sitaramc@sitaramc.homelinux.net>

```
Sitaram Chamarty <sitaramc@gmail.com> writes:

> Would it make sense to teach "git branch" the short option
> "-t" the same way that "git checkout" knows it, (ie., as an
> abbreviation for "--track")?
>
> I use both frequently, and often forget that in "git branch"
> the short option does not work.
>
> If people think it's OK I'll submit a patch (code and doc).

I have <20090428152119.GA18935@atc.tcs.com> (aka $gmane/117790) in my
inbox.

```

## Sitaram Chamarty, 2009-05-10 04:23

Subject: Re: can we allow -t abbreviation for --track in 'git branch'
Message-ID: <slrnh0cllu.juu.sitaramc@sitaramc.homelinux.net>
URL: https://gitlist.dev/e/slrnh0cllu.juu.sitaramc%40sitaramc.homelinux.net
In-Reply-To: <7vab5m9ujb.fsf@alter.siamese.dyndns.org>

```
On 2009-05-09, Junio C Hamano <gitster@pobox.com> wrote:
> Sitaram Chamarty <sitaramc@gmail.com> writes:
>
>> Would it make sense to teach "git branch" the short option
>> "-t" the same way that "git checkout" knows it, (ie., as an
>> abbreviation for "--track")?
>>
>> I use both frequently, and often forget that in "git branch"
>> the short option does not work.
>>
>> If people think it's OK I'll submit a patch (code and doc).
>
> I have <20090428152119.GA18935@atc.tcs.com> (aka $gmane/117790) in my
> inbox.

Thanks.  I posted it some days ago, but then began to wonder
if there was more to that change than I thought, and perhaps
I should have *asked* first.

Sitaram

PS: And I saw http://gitster.livejournal.com/33638.html only
just now... :-)

```
