git-tag

来自百合仙子's Wiki
跳转到导航 跳转到搜索

示例

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

参见

参考资料