Skip to content

Instantly share code, notes, and snippets.

@felipeplets
Created July 17, 2020 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipeplets/f123c7e46c82c2a4b87cb09600dc4a48 to your computer and use it in GitHub Desktop.
Save felipeplets/f123c7e46c82c2a4b87cb09600dc4a48 to your computer and use it in GitHub Desktop.
Change master branch name to main
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