Feature request
What is the expected behavior?
To have the default branch named main instead of master
What is motivation or use case for adding/changing the behavior?
Removing terminology in technology evocative of racial inequality.
How should this be implemented in your opinion?
Following Scott Hanselman's advice
- Move master to main (maintains branch history)
git branch -m master main
git push -u origin main
- Update the default branch in repo settings from master to main.
- Repoint HEAD, and delete master branch.
git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
git push origin --delete master
Are you willing to work on this yourself?
no
Feature request
What is the expected behavior?
To have the default branch named
maininstead ofmasterWhat is motivation or use case for adding/changing the behavior?
Removing terminology in technology evocative of racial inequality.
How should this be implemented in your opinion?
Following Scott Hanselman's advice
Are you willing to work on this yourself?
no