how to

rename-tag

Apr 20, 2024
softwares-and-toolsgittag
1 Minutes
58 Words

ref: https://stackoverflow.com/questions/1028649/how-do-you-rename-a-git-tag

1
git tag new old # Create a new local tag named `new` from tag `old`.
2
git tag -d old # Delete local tag `old`.
3
git push origin new :old # Push `new` to your remote named "origin", and delete
4
# tag `old` on origin (by pushing an empty tag
5
# name to it).

for co-workers

1
git fetch --prune --prune-tags
Article title:rename-tag
Article author:Julyfun
Release time:Apr 20, 2024
Copyright 2025
Sitemap