Skip to content

Instantly share code, notes, and snippets.

@mjmenger
Last active June 15, 2020 00:22
Show Gist options
  • Save mjmenger/3d6cd929835261662953d2ca03891951 to your computer and use it in GitHub Desktop.
Save mjmenger/3d6cd929835261662953d2ca03891951 to your computer and use it in GitHub Desktop.
fixmainbranch
# there's no need to call the primary branch master
git checkout master
git branch -m main
git push origin -u main
git push origin --delete master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment