Created
February 18, 2022 03:36
-
-
Save wingkwong/bdab219e304dc4005220507bd947ba64 to your computer and use it in GitHub Desktop.
Update main to master on your local env
This file contains hidden or 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 main master | |
git fetch origin | |
git branch -u origin/master master | |
git remote set-head origin -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment