0
可能性の重複:
How can I change the default comments in the git commit message?git:デフォルトのコミットメッセージテキストのコメントを解除するには?
デフォルトのgitのコミットメッセージは次のとおりです。私にとっては大丈夫です
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: file1
# modified: file2
#
。しかし、デフォルトでは、私はコメントのないいくつかの行を持っていることを好むだろう:
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
modified: file1
modified: file2
#
ので、私は彼らにその都度のコメントを解除する必要はありません。 可能ですか?
ありがとうございました
なぜコミットメッセージに変更されたファイルのリストが必要ですか?それは完全に冗長です。 –
これは重複する質問ではありません。ポスターは変更されたファイルのリストをコミットメッセージに含めることを特に望んでいますが、他の質問にはまったく言及されていません。 – amcnabb