Skip to content

Instantly share code, notes, and snippets.

@sreimers
Created February 5, 2022 13:44
Show Gist options
  • Save sreimers/62e58c8a790d431bde6786bed619b9b9 to your computer and use it in GitHub Desktop.
Save sreimers/62e58c8a790d431bde6786bed619b9b9 to your computer and use it in GitHub Desktop.
github master main rename
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment