创建tag:
$git tag v1.1.0
创建含附注的tag:
$git tag -a v1.1.0 -m "new release"
查看本地tags:
$git tag -l
查看tag:
$git show v1.1.0
删除本地tag:
$git tag -d v1.1.0
获取服务器tag:
$git fetch origin tag
把tag push 到服务器:
$git push origin --tags删除服务器tag:$git push origin :refs/tags/v1.1.0
本文介绍如何使用Git进行标签管理,包括创建、查看、删除本地及远程仓库中的标签,并提供了具体的命令示例。
1042

被折叠的 条评论
为什么被折叠?



