良いコミットメッセージを書きたい。
解決策
How to Write a Git Commit Message(日本語版)にある、タイトル+詳細形式を採用する。
また、Semantic Commit Messageのように、メッセージのプレフィックスとして<type>
を付与する。
Format: <type>(<scope>): <subject> ※<scope> is optional
-
Semantic Commit Messageの例
feat: add hat wobble