Hacker GitHub

← All repos

github/renaming

View on GitHub ↗ ★ 2,456 archived

Guidance for changing the default branch name for GitHub repositories

16 mentions on Hacker News by 16 people: 6 stories, 10 comments · first 2020-07-17 · latest 2025-11-24

Mentions per year 16 mentions · busiest year 2020 (9)
20082026
  1. …branch name is just a pointer to a commit. Renaming that pointer is relatively seamless on GitHub ( https://github.com/github/renaming?tab=readme-ov-file#rename... ). Also, git 3.0 isn’t forcing this change on existing repos, just new ones…
    comment by testdelacc1 · 2025-11-24 · in Git 3.0 will use main as the default branch
  2. https://github.com/github/renaming https://www.theserverside.com/feature/Why-GitHub-renamed-its... They did stuff. Plenty qualifies as "removing". (And I didn't say they reached out and changed the entire world.) And unlike master/slave,…
    comment by Dylan16807 · 2025-02-05 · in Words flagged in search of current NSF awards
  3. …just part of a broader trend to stop using ‘master’ due to some people finding that term offensive. https://github.com/github/renaming
    comment by bluesnowmonkey · 2023-05-23 · in GirlfriendGPT – OSS AI Companion
  4. …by exactly this type of initiative, more successfully in some places rather than others. https://github.com/github/renaming https://sfconservancy.org/news/2020/jun/23/gitbranchname/
  5. …When master branch is renamed to main, GitHub redirects any old links. https://github.com/github/renaming#renaming-existing-branche...
    comment by lozenge · 2022-06-22 · in Next-generation AI models
  6. …//sfconservancy.org/news/2020/jun/23/gitbranchname/ (this is the rationale linked to by github[1]) 1: https://github.com/github/renaming
    comment by sequoia · 2021-03-17 · in GitHub, fuck your name change
  7. …you want to criticize GitHub for their lack of action in other areas, criticize that instead. [1] https://github.com/github/renaming#renaming-existing-branche...
    comment by mythz · 2021-03-17 · in GitHub, fuck your name change
  8. ▲ 2
    GitHub: Renaming the Default Branch from Master
    story by ryannevius · 2020-10-28 · 1 comment
  9. …opt in. It's easy to change and it's nice that old branch histories will do directs to new branch. https://github.com/github/renaming
  10. ▲ 11
    GitHub default name branch changes (master – main)
    story by WayToDoor · 2020-09-19 · 1 comment
  11. ▲ 13
    GitHub Default Branch Changes
    story by surfer7837 · 2020-09-18 · 8 comments
  12. ▲ 2
    GitHub/renaming: Renaming the default branch from master
    story by nonbirithm · 2020-08-18 · 0 comments
  13. …back in 2014 in connection with the Ferguson unrest and the killing of Michael Brown. Source: https://github.com/github/renaming
  14. …one across all their repos is `main`, and that's what they'll be going with themselves. (Source: https://github.com/github/renaming )
    comment by apetresc · 2020-07-27 · in Highlights from Git 2.28
  15. ▲ 1
    Renaming the Default Branch from Master
    story by niksmac · 2020-07-21 · 1 comment
  16. ▲ 2
    Guidance for changing the default branch name for GitHub repositories
    story by di · 2020-07-17 · 0 comments