Skip to content

Instantly share code, notes, and snippets.

@rami-HP
Created June 2, 2022 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rami-HP/be7912e450223db0c6b6ca8f4822e43e to your computer and use it in GitHub Desktop.
Save rami-HP/be7912e450223db0c6b6ca8f4822e43e 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