Skip to content

Instantly share code, notes, and snippets.

@DanWahlin
Created May 10, 2021 17:09
Show Gist options
  • Save DanWahlin/a17dab4d987d84321496460a4472e29e to your computer and use it in GitHub Desktop.
Save DanWahlin/a17dab4d987d84321496460a4472e29e 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