git push --follow-tags 命令

tag 分为 annotated 和 lightweight 两种类型

git push --follow-tags

此命令只会 push annotated tag

git tag 默认打的是 lightweight 类型的,如果需要打 annotated 使用:

git tag -a

官方说明:git push

posted @ 2021-04-21 14:40  savokiss  阅读(1327)  评论(0编辑  收藏  举报