0
0

More than 3 years have passed since last update.

git commit messageは命令形、小文字始まりで書く(git標準)

Posted at

命令形、小文字始まりで書く

[[imperative-mood]]
Describe your changes in imperative mood, e.g. "make xyzzy do frotz"
instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy
to do frotz", as if you are giving orders to the codebase to change
its behavior.  Try to make sure your explanation can be understood
without external resources. Instead of giving a URL to a mailing list
archive, summarize the relevant points of the discussion.

変更を命令系で書くこと。
「make ...」と書くべきで、「[This patch] makes ...」や「[I] changed ...」ではありません。
コードベースに変更を指示するかのように、書いて下さい。
説明が他を参照しなくても理解できるように書くことを心がけて下さい。

[[summary-section]]
It's customary to start the remainder of the first line after "area: "
with a lower-case letter. E.g. "doc: clarify...", not "doc:
Clarify...", or "githooks.txt: improve...", not "githooks.txt:
Improve...".

小文字で始めること。

ツール

JS/TS環境では、commitizen を使えば、規約通りの commit message が保証されます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0