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

git-branch silently ignores --track on local branches

From
Wayne Davison <wayne@opencoder.net>
Date
Nov 10, 2007, 17:45 UTC
Message-ID
<20071110174557.GC1036@blorf.net>

I used to be able to create a branch that tracked master (or another local branch) by using "git branch --track new-branch" from that checked-out branch. However, this functionality was apparently removed and now the --track option is silently ignored for local branches. I'd love to have this functionality restored. Is there a problem with local branches being supported when explicitly requested?

..wayne..
Next: Junio C Hamano
Message 1 of 3 in “git-branch silently ignores --track on local branches”
  1. Wayne DavisonNov 10, 2007
  2. Junio C HamanoNov 10, 2007
  3. Johannes SchindelinNov 11, 2007

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.