我的 GitHub 测试项目中缺少标签
Tags are missing from my GitHub testing project
我正在使用 GitFlow,我更新了可以在 cmd 中看到但在 GitHub 页面中看不到的标签。
GitHub 的屏幕截图:
cmd 的屏幕截图:
我错过了什么吗?或者需要在添加标签时做一些参数。
假设您已经在您的机器上本地创建了这些标签,您将需要将它们推送到 GitHub。这可以通过 运行 命令完成:
git push --tags
您可以在“共享标签”部分找到关于此 here 的更多信息。
By default, the git push command doesn’t transfer tags to remote servers. You will have to explicitly push tags to a shared server after you have created them. This process is just like sharing remote branches
我正在使用 GitFlow,我更新了可以在 cmd 中看到但在 GitHub 页面中看不到的标签。
GitHub 的屏幕截图:
cmd 的屏幕截图:
我错过了什么吗?或者需要在添加标签时做一些参数。
假设您已经在您的机器上本地创建了这些标签,您将需要将它们推送到 GitHub。这可以通过 运行 命令完成:
git push --tags
您可以在“共享标签”部分找到关于此 here 的更多信息。
By default, the git push command doesn’t transfer tags to remote servers. You will have to explicitly push tags to a shared server after you have created them. This process is just like sharing remote branches