Skip to content

Instantly share code, notes, and snippets.

@StudioLE
Last active May 30, 2021 19:09
Show Gist options
  • Save StudioLE/78f389df560dd2e9a19641dc0df4e4a7 to your computer and use it in GitHub Desktop.
Save StudioLE/78f389df560dd2e9a19641dc0df4e4a7 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
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