Delete a local tag
- Check existing local tags with
git tag. - Delete the tag with
git tag -d v0.1.0. (Replacev0.1.0with the tag you want to delete)
Delete a remote tag
- Check existing remote tags with
git ls-remote --tags. - Delete the remote tag with
git push origin --delete v0.1.0. (Replacev0.1.0with the tag you want to delete)
