Last active
October 30, 2021 08:25
-
-
Save bjing/6b24aac76a6219a1f1078ed646132f4c to your computer and use it in GitHub Desktop.
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
1. Rename branch from Github branch settings. | |
2. Then on local checkout: | |
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