2014-10-29 91 views
1

我使用stepup来管理用于自动化版本编号和发行说明的git notes。`git log`显示`git notes`不是

在我们回购的一处注释似乎搞砸了:

$ git log HEAD 

commit 04c85f5ad7e5d60de8c9f0b8e08681e833751909 
Author: Daniel Serodio <[email protected]> 
Date: Wed Oct 29 15:47:55 2014 -0200 

    non-deps removed 

Notes (added): 
    splittest beta 

但是:

$ git notes show HEAD 

error: No note found for object 04c85f5ad7e5d60de8c9f0b8e08681e833751909. 

有没有人有一个关于原因和/或该修复线索?

回答

3

git log方面的配置条目notes.displayRef我猜你必须设置为“补充”

,使其中“*”或git notes显示它尝试

git notes --ref=added show HEAD