-
-
Save treejamie/52ec4980a713743bfa78 to your computer and use it in GitHub Desktop.
How to delete git remote(origin) branch or tag?
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
# branch | |
$ git branch -d BRANCH # delete local BRANCH | |
$ git push origin :BRANCH # delete remote BRANCH | |
# tag | |
$ git tag -d TAG # delete local TAG | |
$ git push origin :refs/tags/TAG # delete remote TAG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment