The following steps outlines the Git Tag delete process both locally and remotely.
- Fetch all the tags from
git fetch --tags - Delete the tag locally
git tag -d yourTagToDelete (eg: git tag -d v1.15.0) - Delete the tag in Remote
git push origin :yourTagToDelete (eg git push origin :v1.15.0) - Create a new tag locally
git tag yourNewTag (eg: git tag v1.15.0) - Push tag to Remote
git push origin yourTagToDelete (eg git push origin v1.15.0)
0 comments:
Post a Comment
I love to entertain onymous user Comment !