Created
June 27, 2022 23:15
-
-
Save ronanmccoy/8a532823099a7dda70653069f277bf00 to your computer and use it in GitHub Desktop.
Rename branch name on local environment
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 <BRANCH> | |
git fetch origin | |
git branch -u origin/<BRANCH> <BRANCH> | |
git remote set-head origin -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment