Last active
August 8, 2017 09:30
-
-
Save deepakpk009/8740407c3c6f00ee15f51fd8a5fa4c1b to your computer and use it in GitHub Desktop.
Removing a tag from git
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
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