Semantic Commit Messages
Format: <type>(<scope>): <subject>
type | 説明 |
---|---|
feat | ユーザー向けの新機能追加・修正。ビルドスクリプトの新機能は除く。 |
fix | ユーザーのバグ修正。ビルドスクリプトの修正は除く。 |
docs | ドキュメントの変更。 |
style | セミコロンの欠落などの書式設定。プロダクションコードの変更は無し。 |
refactor | プロダクションコードのリファクタリング。変数の名前変更など。 |
test | 不足しているテストの追加、テストのリファクタリング。プロダクションコードの変更は無し。 |
chore | ビルドスクリプトの更新など。プロダクションコードの変更は無し。 |
参考
依存しているパッケージのアップデートする場合のコミットメッセージ
タイプ、スコープを chore(deps):
にする場合が多そう。
What would be a good commit message for updating package versions using Conventional Commits?
Following Conventional Commits what would be the best <type> for commits regarding package version changes (upgrades/updates)?
E.g.: feat: Bump React version to "16.13.1"
E.g.: feat:
stackoverflow.com
![What would be a good commit message for updating package versions using Conventional Commits?](/_next/image?url=https%3A%2F%2Fpublic-content.hackersheet.com%2Fwebsite-og-images%2F5d72506b-ad69-4bd6-b9e8-f1c6d5152ed3.png&w=640&q=75)
This gist consist of the rules and best practice of good conventional git commit message
This gist consist of the rules and best practice of good conventional git commit message - git-commit-styleguide.md
github.com
![This gist consist of the rules and best practice of good conventional git commit message](/_next/image?url=https%3A%2F%2Fpublic-content.hackersheet.com%2Fwebsite-og-images%2F2c92dc02-539c-4095-bbcb-3dfa088af36c.png&w=3840&q=75)