If you’ve accidentally committed a tag and pushed it up to GitHub, it’s quite easy to delete it and then add a new one. For this example, I’m deleting my previous tag “v1.0″, and then adding a new one for the repo at its current state.
1) Delete the v1.0 tag locally:
git tag -d v1.0
2) Delete the v1.0 tag on GitHub (which removes its download link):
git push origin :v0.4
3) Add a new tag for the updated release:
git tag -a v1.0 -m "Version 1.0 Stable"
4) Push the latest tag to GitHub (two dashes):
git push --tags