Created
April 21, 2022 07:28
-
-
Save Puppo/197779644e77fbe60d8f792825b2375e to your computer and use it in GitHub Desktop.
Rename Local and Remote Branch
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 checkout <old_name> | |
git branch -m <new_name> | |
git push origin -u <new_name> | |
git push origin --delete <old_name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment