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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Sitaram Chamarty <hidden>
Date: 2016-06-15 22:46:44

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

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

From: Nicolas Sebrecht <hidden>
Date: 2016-06-15 22:46:44

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help