Skip to content

Instantly share code, notes, and snippets.

@stevehenderson
Created January 4, 2022 00:50
Show Gist options
  • Save stevehenderson/cbb7912b9efe687d4affed9d9fb7dabe to your computer and use it in GitHub Desktop.
Save stevehenderson/cbb7912b9efe687d4affed9d9fb7dabe to your computer and use it in GitHub Desktop.
After renaming main

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