Rename a tag in Git

Public

Get raw version
bash
  1. #Link my new_tag with the old_tag
  2. git tag new_tag old_tag
  3. #Deleted old_tag.
  4. git tag -d old_tag
  5. git push origin :refs/tags/old_tag
  6. #Add new tag in repo
  7. git push --tags