at kaneshin

Free space for me.

Present tense? Past tense? - Commit message

365Git | Writing Git commit messages

Commit messageはpresent tense派。

  • Past tenseだと、主語省略形のそのまんま"自分"がやったことを述べている(感じがする

"Improved foo function in bar.cc." -> "I improved foo function in bar.cc."

  • Present tenseだと、そのcommitをマージ"しろ"って"リポジトリもってる全員"に命令する感じがする

"Improve foo function in bar.cc."
「ほら、bar.cc にあるfoo の機能を改良したんだから、お前のリポジトリも改良(マージ)しろよ」
みたいな感じ。

個人的な意見ですけど。