2015-07-19 24 views
2

所以我想弄清楚爲什麼每次提交後發佈一條奇怪的錯誤消息。奇怪的「錯誤」。每次提交後出現

RJ:zed-clone/ (master✗) $ gitcm 'test commit' 
Taking capture into ~/.gitshots/1437266644.jpg! 
[master f3f5788] change 
1 file changed, 3 insertions(+) 
RJ:fazed-clone/ (master) $ Error. <<<< THIS 

RJ:zed-clone/ (master) $ 

到目前爲止,我沒有看到任何錯誤,但我不確定如何糾正這種情況。

+0

只是一個猜測,但是這可能與您的shell提示符('$ PS1')到來。 – melpomene

+1

查看項目根目錄下的'.git/hooks/post-commit' – axelduch

+0

RJ:fazed-clone /(master)$ echo $ PS1 [20:44:12] %{$ fg [$ NCOLOR]% }%B%n%b%{$ reset_color%}:%{$ fg [blue]%}%B%c /%b%{$ reset_color%} $(git_prompt_info)%(!。#。$) –

回答

0

錯誤是由於我的根路徑缺少目錄,並一直correcte.d