Created
June 15, 2020 21:16
-
-
Save fatherjack/c2660c4f0526af7b6a06f3e0dbf9d0e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch -m master main | |
git checkout main | |
git push -u origin main | |
now go to github.com and change the default branch ot main | |
created with reference to https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment