Created
July 4, 2018 05:41
-
-
Save Mukundhan-I2I/b59eb8896547c94534337eba3634ebbf to your computer and use it in GitHub Desktop.
rename remote 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
If you really just want to rename branches remotely (without renaming any local branches at the same time) you can do this with a single command like | |
git push <remote> <remote>/<old_name>:refs/heads/<new_name> :<old_name> | |
https://stackoverflow.com/a/21302474/2586761 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment