Created
July 4, 2013 10:36
-
-
Save ninozhang/5926667 to your computer and use it in GitHub Desktop.
git-delete-remote-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
As of Git v1.7.0, you can delete a remote branch using | |
git push origin --delete <branchName> | |
which is easier to remember than | |
git push origin :<branchName> | |
which was added in Git v1.5.0 "to delete a remote branch or a tag." | |
http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment