Git: Remove a remote tag
This is something I want to blog in order to save it for posterity so I don't go crazy looking for this. I have a remote tag I committed but I need to remove it for whatever reason, how do I do this with git?
You do this in two easy steps:
You do this in two easy steps:
- Remove the local tag either through your favorite GUI or via: git tag -d "tag name"
- Push the removed tag to the remote origin: git push origin :refs/tags/"tag name"