当我运行
git fetch -f --tags
有办法吗?
将 abc123 替换为您要获取的标签名称。
git fetch origin 'refs/tags/abc123*:refs/tags/abc123*'
您可以像这样列出标签;
git tag -l 'abc123*'