git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
May 9, 2009, 08:50 UTC
Message-ID
<slrnh0agtv.4rv.sitaramc@sitaramc.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
Next: Nicolas Sebrecht
Message 1 of 4 in “can we allow -t abbreviation for --track in 'git branch'”
  1. Sitaram ChamartyMay 9, 2009
  2. Nicolas SebrechtMay 9, 2009
  3. Junio C HamanoMay 9, 2009
  4. Sitaram ChamartyMay 10, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.