Git:如何更新标签说明并推送到GitHub?

时间:2019-07-03 10:00:50

标签: git shell github

按照以下命令更新标签说明后:

git tag <tag name> <tag name> -f -m "<new message>"

如何将更新推送到那个标签?

1 个答案:

答案 0 :(得分:0)

尝试

git push origin master --tags

摘自手册

man git push

--tags
   All refs under refs/tags are pushed, in addition to refspecs explicitly listed on the command line.