Changed default branch name to "main"
justmoon opened this issue · comments
Stefan Thomas commented
Changed the default branch name from master to main.
See: https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx
@ljharb - Please update your local working copy:
$ git checkout master
$ git branch -m master main
$ git fetch
$ git branch --unset-upstream
$ git branch -u origin/main
$ git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
Jordan Harband commented
It would probably have been better to wait for github's proper support for this, so that URLs with "master" redirect properly, but noted.