默认情况下,git push 命令并不会传送标签到远程仓库服务器上。 在创建完标签后你必须显式地推送标签到共享服务器上。 这个过程就像共享远程分支一样 - 你可以运行 git push origin [tagname]。
git push
git push origin [tagname]
$ git push woms-git-test v1.0.0#推送制定的版本到中央仓库 $ git push woms-git-test --tags#推送多有的tag到中央仓库