rename default branch from `master` to `main`
See original GitHub issueWhile the change is expected to be coming to github overall, there is a move to rename default branches to main
https://www.zdnet.com/article/github-to-replace-master-with-main-starting-next-month/
The scale and scope of the change is small enough that it only takes a few seconds to do
more background https://jarv.is/notes/github-rename-master/
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to rename the "master" branch to "main" in Git
After creating the new "main" branch on the remote, you might then (depending on your Git hosting platform) have to change the "default"...
Read more >Easily rename your Git default branch from master to main
Go to the master branch · Rename master to main locally · Get the latest commits from the server · Remove the link...
Read more >How do I change the Git default branch name for new ...
Go to Admin Area -> Settings -> Repository. · Expand Default initial branch name. · Change the default to main. · Save changes....
Read more >How to Rename the Default Git Branch and Why You'd ...
Open Settings via your profile photo in the top-right. · Click Repositories in the left-hand menu. · Under the Repository default branch section, ......
Read more >How to rename your Git master branch to main.
Change your default branch on GitHub by going to your GitHub repository in your browser, and navigate to Settings > Branches and click...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve never seen this concept happen on this repo yet 🤣
yes - all new PRs (
will) should come in tomain
by default once you complete steps 1 and 2 above!