相关疑难解决方法(0)

git fatal:没有标签可以描述<sha1 number>

我通过将它们应用于夜间构建来使用标签.然后,我想用输出describe --tags --match <latest tag>告诉我每晚构建我的图像有多远.这是用于QA测试.

我刚刚在比当前标记更旧的克隆中遇到错误.我运行了git fetch --tags,所以我在git tag输出中看到了标签,但是当我运行时git describe --tags --match <tagname>,我得到了fatal: No tags can describe <head sha1 version number>.此时我无法执行git pull来更新工作区.为什么会发生这种情况并且有解决方法?非常感谢

tags git commit

19
推荐指数
3
解决办法
1万
查看次数

标签 统计

commit ×1

git ×1

tags ×1