How To Delete Local and Remote Tags on Git

Git

Delete 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

I am actually playing with NextJS, some contents are not available yet ! See the v1