🏷️ Tags

How to delete a tag in Git

Remove local and remote tags.

Delete a local tag
git tag -d v1.0.0

Removes the tag from your local repository.

Delete a remote tag
git push origin --delete v1.0.0

Removes the tag from the remote repository.

Delete both local and remote
git tag -d v1.0.0
git push origin --delete v1.0.0

Removes the tag from both local and remote in two steps.

← Back to Git Reference