git tag lightweight_tag git tag -a annotated_tag git tag -d tag_name
仅上传本地有而远程没有的 tag:
git push --tags
同时还上传些其它东西:
git push --tags origin master
本地:
git tag -d name
远程:[1]
git push origin :refs/tags/name # 或者 git push origin :name