git 重名名 tag

重命名git tag

1. git tag newtag oldtag

2. git tag -d oldtag

3. git push origin :refs/tags/oldtag

4. git push --tags