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

Bug: git-gui creates unwanted branch

From
JBJoe Brown <joewbrown@gmail.com>
Date
Feb 11, 2022, 10:24 UTC
Message-ID
<CAGsxCrHSif=ZRFT4TnJnMo1-u2=jTcN9FKJECmmFmyAVQhfk5A@mail.gmail.com>
Heya folks

When cloning a repo with the git-gui, it creates a branch branch called master even if there is no such branch on the remote. In fact it will create a branch according to whatever value init.defaultBranch is set. Tracking branches are set up correctly. This doesn’t happen using git cli, so I don’t think it should happen using the gui.

Cheers, Joe

Message 1 of 1 in “Bug: git-gui creates unwanted branch”
  1. Joe BrownFeb 11, 2022

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.