Skip to content

Instantly share code, notes, and snippets.

@deepakpk009
Last active August 8, 2017 09:30
Show Gist options
  • Save deepakpk009/8740407c3c6f00ee15f51fd8a5fa4c1b to your computer and use it in GitHub Desktop.
Save deepakpk009/8740407c3c6f00ee15f51fd8a5fa4c1b to your computer and use it in GitHub Desktop.
Removing a tag from git
If you have created a tag called 'release01'
in a Git repository you would remove it from your repository
by doing the following:
$ git tag -d release01
$ git push origin :refs/tags/release01
to push every local tag to remote
git push origin --tags
to push a specific local tag to remote
git push origin : tagName
eg:
git push origin : release01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment