Created
July 23, 2011 02:07
-
-
Save douglas/1100860 to your computer and use it in GitHub Desktop.
Rename (it seems to create a new) branch on github
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
Execute this command: | |
$ git push origin remote_branch_name:new_branch_name | |
Remember that you should edit the repository info to change to the new branch so you can delete the old one with this command: | |
$ git push origin :old_branch_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment