Created
September 21, 2012 23:12
-
-
Save mariusbutuc/3764448 to your computer and use it in GitHub Desktop.
Rename remote Git 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 push origin previous_name:new_name | |
git branch new_name origin/new_name | |
# http://stackoverflow.com/a/3790682/341929 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment