How To Delete Local and Remote Tags on Git
GitDelete a local Git tag
First, use the git tag
command to list all your local Git tags.
To delete a local Git tag, use the git tag
command with the -d
option.
git tag -d <tag_name>
Be careful, this command doesn't delete the remote Git tag if it exists.
Delete a remote Git tag
To delete a remote Git tag, use the git push
command with the --delete
option.
git push --delete origin <tag_name>
Back to Top