Created
July 27, 2022 18:59
-
-
Save sahal/868a40289f6247080c374729942e0ae5 to your computer and use it in GitHub Desktop.
Github suggestion when you rename a branch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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