Skip to content

Instantly share code, notes, and snippets.

@roll
Created June 1, 2021 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save roll/52b74c593029efee07502821dd884c9e to your computer and use it in GitHub Desktop.
Save roll/52b74c593029efee07502821dd884c9e to your computer and use it in GitHub Desktop.
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