2014年1月1日

Git failed ... [See buffer *magit-process* for details]

M-x magit-stats から c c でコミット(C-c C-c)しようとすると

===
Git failed ... [See buffer *magit-process* for details]
===

と出て、*magit-process* バッファ を開くと

===
0 git --no-pager add -u 3.txt

0 git --no-pager commit --

0 git --no-pager add 4.txt

0 git --no-pager add 5.txt

1 git --no-pager commit --
===

などとなっているから

===
1 git --no-pager commit --
===

にカーソルを合わせ TAB を押すと、例えば

===
1 git --no-pager commit --
Waiting for Emacs...
Aborting commit due to empty commit message.
===

などと表示され、エラーの内容が分かる。この場合はコミットメッセージに何も書かれていないため、コミットが中断されたと出ている。

0 件のコメント:

コメントを投稿