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

Re: Consensus on a new default branch name

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 17, 2020, 20:13 UTC
Message-ID
<xmqqpn9xtpqf.fsf@gitster.c.googlers.com>
In-Reply-To
<20200616143202.GM666057@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Thanks for writing this out (I'm still catching up on list email after a
> vacation, so I missed the earlier thread). It really cemented for me
> that "main" is better than "default".

In any case, it makes sense to use separate words for the concept ("default" --- as in "the name given to the first branch created in the repository by default") and the actualy value chosen for the entity (master or main in this case).

The statement:
    I configure in ~/.gitconfig that the default branch name for all my
    repositories to be 'main'
is much easier to read than the last 'main' replaced with 'default'.
Previous: Jeff KingNext: brian m. carlson
Message 29 of 31 in “Consensus on a new default branch name”
  1. Taylor BlauJun 15, 2020
  2. Taylor BlauJun 15, 2020
  3. Jeff KingJun 16, 2020
  4. OlegJun 16, 2020
  5. Jeff KingJun 16, 2020
  6. OlegJun 16, 2020
  7. Konstantin RyabitsevJun 16, 2020
  8. OlegJun 16, 2020
  9. Jeff KingJun 16, 2020
  10. Konstantin RyabitsevJun 16, 2020
  11. Santiago Torres AriasJun 16, 2020
  12. Jeff KingJun 16, 2020
  13. Jeff KingJun 16, 2020
  14. Jason PyeronJun 16, 2020
  15. Steve LittJun 16, 2020
  16. OlegJun 16, 2020
  17. Michal SuchánekJun 17, 2020
  18. Michal SuchánekJul 1, 2020
  19. Jeff KingJul 1, 2020
  20. WhinisJul 2, 2020
  21. Philip OakleyJul 2, 2020
  22. WhinisJul 2, 2020
  23. Philip OakleyJul 2, 2020
  24. WhinisJul 2, 2020
  25. Jonathan NiederJul 1, 2020
  26. Santiago Torres AriasJun 15, 2020
  27. Elijah NewrenJun 15, 2020
  28. Jeff KingJun 16, 2020
  29. Junio C HamanoJun 17, 2020
  30. brian m. carlsonJun 15, 2020
  31. James RamsayJun 16, 2020

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.