How to delete git remote(origin) branch or tag?
# 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