Created
April 5, 2015 18:42
-
-
Save raym/325ca2de2d2e03dda8fb to your computer and use it in GitHub Desktop.
rename a branch that you've pushed to a remote
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 push origin :oldname | |
git branch -m oldname newname | |
git push origin newname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://stackoverflow.com/questions/9524933/renaming-a-branch-in-github