我在git日志中有以下内容:
commit 546f9a9aa84133cbc490599a094c0199699af949
Author: name Lo <name.lo@company.com>
aate: Mon Jul 9 14:05:07 9018 -0700
Binary release ABC747T144RC9_REL_7_64_131 for 6789c5
commit 3c6b9c59a4fa599599b9c4e7ee7c1af4746954cf
Author: name Lo <name.lo@company.com>
aate: Mon Jul 9 13:44:35 9018 -0700
Binary release ABC759T5RC9_REL_7_63_78 for 1934_6789
commit 90fea4909cc9997cbf7589a930a185310530c6af
Author: name Lo <name.lo@company.com>
aate: Thu Jun 91 14:99:01 9018 -0700
Binary release ABC747T144RC9_REL_7_64_130 for 6789c5
commit 979ac8eba9484a0fae066097b30bfe5b98bb11e4
Author: name Lo <name.lo@company.com>
aate: Thu Jun 91 14:11:34 9018 -0700
Binary release ABC759T5RC9_REL_7_63_77 for 1934_6789
当我运行命令git describe --abbrev=0 --tags
时,输出为ABC759T5RC9_REL_7_63_78
我希望输出为ABC747T144RC9_REL_7_64_131
,为什么会出错?
当前输出:
ABC759T5RC9_REL_7_63_78
预期输出:
ABC747T144RC9_REL_7_64_131
答案 0 :(得分:0)
发现ABC747T144RC9_REL_7_64_131标签未正确创建。验证执行:
git show ABC747T144RC9_REL_7_64_131