Last active
November 13, 2020 12:13
-
-
Save jokroese/9d29a041884e49b7a8e75654d45e1421 to your computer and use it in GitHub Desktop.
Change branch from master to main
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 status | |
git push origin HEAD | |
git branch -D master | |
git push origin :master | |
git status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment