あなたをより良いプログラマーにする,コミットメセージのちょっとした変更.
フォーマット: <タイプ>(<スコープ>): <件名>
<スコープ>
は省略可能.
feat: add hat wobble
^--^ ^------------^
| |
| +-> 現在時制の概要.
|
+-------> タイプ: chore, docs, feat, fix, refactor, style, testのいずれか.
その他の例:
feat
: (ユーザーのための新しい機能.ビルドスクリプトの新しい機能ではなく)fix
: (ユーザーのためのバグフィックス.ビルドスクリプトの修正ではなく)docs
: (ドキュメントの変更)style
: (フォーマット、セミコロンの欠落など、プロダクションコードの変更はない)refactor
: (プロダクションコードのリファクタリング.たとえば変数名の変更)test
: (不足しているテストの追加,テストのリファクタリング.プロダクションコードの変更はない)chore
: (gruntのタスクの更新など.プロダクションコードの変更はない)
参考:
joshbuchea/semantic-commit-messages.md
からフォークして勝手に日本語に訳させていただきました。m(_ _)m