Skip to content

Instantly share code, notes, and snippets.

@edgamat
Created August 3, 2020 09:19
Show Gist options
  • Save edgamat/ffdc7f185a12207bffdbd02d2442032d to your computer and use it in GitHub Desktop.
Save edgamat/ffdc7f185a12207bffdbd02d2442032d to your computer and use it in GitHub Desktop.
Rename your Git default branch from master to main
git branch -m master main
git push -u origin main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment