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 our code examples, let's use "released/aug2016" as the tag name.

To create your tag:

  
  git tag released/aug2016
  

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 released/aug2016
  

To delete a remote tag:

Delete the tag locally, like above

  
  git tag -d released/aug2016

  git push origin :refs/tags/released/aug2016
  
More related to git: