Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tos-kamiya/9b609ac075b120e255d0a731951375be to your computer and use it in GitHub Desktop.
Save tos-kamiya/9b609ac075b120e255d0a731951375be to your computer and use it in GitHub Desktop.
Semantic Commit Messages

セマンティック・コミット・メッセージ

あなたをより良いプログラマーにする,コミットメセージのちょっとした変更.

フォーマット: <タイプ>(<スコープ>): <件名>

<スコープ>は省略可能.

feat: add hat wobble
^--^  ^------------^
|     |
|     +-> 現在時制の概要.
|
+-------> タイプ: chore, docs, feat, fix, refactor, style, testのいずれか.

その他の例:

  • feat: (ユーザーのための新しい機能.ビルドスクリプトの新しい機能ではなく)
  • fix: (ユーザーのためのバグフィックス.ビルドスクリプトの修正ではなく)
  • docs: (ドキュメントの変更)
  • style: (フォーマット、セミコロンの欠落など、プロダクションコードの変更はない)
  • refactor: (プロダクションコードのリファクタリング.たとえば変数名の変更)
  • test: (不足しているテストの追加,テストのリファクタリング.プロダクションコードの変更はない)
  • chore: (gruntのタスクの更新など.プロダクションコードの変更はない)

参考:

@tos-kamiya
Copy link
Author

joshbuchea/semantic-commit-messages.mdからフォークして勝手に日本語に訳させていただきました。m(_ _)m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment