If you use tags in your projects, you probably have encountered some issue (typos, perhaps) that forced you to remove the tag. Here are a few steps that will help you navigate the problems associated with local/remote tags and managing instances of each, along with a few steps help get you familiar with tags in general.

For the code examples, let's use "release/aug2002" as the tag name.

To create your tag:

  git tag release/aug2002

To push local tags to remote:

  git push --tags

Another option, , links local and remote tags:

  git push --follow-tags

To delete a local tag:

  git tag -d release/aug2002

To delete a remote tag:

Delete the tag locally, like above

  git tag -d release/aug2002

  git push origin :refs/tags/release/aug2002
More reading related to git: