I want to delete all the tags (local and remote) in my git repo except the latest one. I have read the posts about deleting all tags but could not find the info about deleting them selectively i.e. delete all tags except the latest one
I want to delete all the tags (local and remote) in my git repo except the latest one. I have read the posts about deleting all tags but could not find the info about deleting them selectively i.e. delete all tags except the latest one
To delete locally all tags (even for Windows):
git tag -d `git tag | grep -E '.'`
I've found solution here.