Forked from mobilemind/git-tag-delete-local-and-remote.sh
Last active
December 23, 2019 15:47
-
-
Save kreig303/0924b6d43c6b6295a1e4c9df8a858deb to your computer and use it in GitHub Desktop.
how to delete a git tag locally and remote
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
# delete local tag | |
git tag -d tagName | |
# delete remote tag | |
git push origin :refs/tags/tagName | |
# or | |
git push --delete origin tagName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment