Created
July 17, 2020 00:31
-
-
Save felipeplets/f123c7e46c82c2a4b87cb09600dc4a48 to your computer and use it in GitHub Desktop.
Change master branch name 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 push -u origin main | |
# Access your GitHub repo seetings and change the default branch to main | |
# Access the branch list and delete the branch master | |
# Remember to rename other files and CI/CD commands |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment