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

Re: [PATCH] rename default branch from 'master' to 'main' in refs and test scripts

From
PWPhillip Wood <phillip.wood123@gmail.com>
Date
Aug 26, 2025, 11:20 UTC
Message-ID
<d471591b-5f95-497e-ac5f-bf186a3c05a1@gmail.com>
In-Reply-To
<0a574b62-273e-4519-855f-66c554cd93c7@gmail.com>
On 26/08/2025 10:58, Phillip Wood wrote:
Show 12 quoted lines
> On 26/08/2025 05:52, Wing Huang via GitGitGadget wrote:
>> From: Wing Huang <huangsen365@gmail.com>
>>
>>      rename default branch from 'master' to 'main' in refs and test 
>> scripts
>>      This patch updates Git's default branch name from 'master' to 
>> 'main' to
>>      align with modern naming conventions adopted across the industry.
> 
> Thank you for your interest in this. We're currently planning to change 
> the default branch name when Git 3.0 is released as documented in 
> Documentation/BreakingChanges.adoc. 

Oh, sorry it seems I imagined that. I've just checked and there is no entry in that document about the default branch name. I do think that the 3.0 release would be a good time to change the default branch name though.

Thanks
Phillip
Previous: Phillip Wood
Message 6 of 6 in “rename default branch from 'master' to 'main' in refs and test scripts”
  1. rename default branch from 'master' to 'main' in refs and test scriptsWing Huang via GitGitGadget, Aug 26, 2025
  2. Andreas SchwabAug 26, 2025
  3. Phillip WoodAug 26, 2025
  4. Jeff KingAug 26, 2025
  5. Phillip WoodAug 27, 2025
  6. Phillip WoodAug 26, 2025

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.