Created
April 12, 2021 08:15
-
-
Save netraagal/052d5cbcdf359fc6fa9cd34ab74662e8 to your computer and use it in GitHub Desktop.
Rename git 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 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