git tag -d tag-to-delete
git push origin :refs/tags/tag-to-delete
This will remove that tag from the remote repository. You can verify this by pulling from the remote again and seeing that it does not get pulled back down.
A simple blog about the coding I do when I can't sleep.
git tag -d tag-to-delete
git push origin :refs/tags/tag-to-delete
1 comment:
I have tried the same .. but i am getting bellow error while pushing the deleted tag to remote
Error: "DENIED by fallthru"
remote: + refs/tags/***-1.0 XYZ/XYZ Kavi DENIED by fallthru
Post a Comment