naopoyo.com
  • Docs
  • Tags
  • Bookmarks
  • Tools
  • About
  • Docs
  • Tags
  • Bookmarks
  • Tools
  • About

目次

© naopoyo

目次

最近更新された記事

🐝

CLI ツール開発初心者のためのまとめ

1日前·2026年02月01日
  • Node.js
  • npm
  • bash
🧜‍♀️

beautiful-mermaid を使ってみた

2日前·2026年02月01日
  • Markdown
📦

Changesets でモノレポのリリースを自動化する(個人開発向け設定)

2日前·2026年01月31日
  • Changesets
  • npm
  • GitHub
💬

Gitのコミットメッセージをどのように書くのが良いか

公開日2年以上前2023-10-19
更新日1年以上前2024-05-31
履歴GitHubで見る
MarkdownRaw Content
  • Git

Semantic Commit Messages

Format: <type>(<scope>): <subject>

type説明
featユーザー向けの新機能追加・修正。ビルドスクリプトの新機能は除く。
fixユーザーのバグ修正。ビルドスクリプトの修正は除く。
docsドキュメントの変更。
styleセミコロンの欠落などの書式設定。プロダクションコードの変更は無し。
refactorプロダクションコードのリファクタリング。変数の名前変更など。
test不足しているテストの追加、テストのリファクタリング。プロダクションコードの変更は無し。
choreビルドスクリプトの更新など。プロダクションコードの変更は無し。

参考

  • Semantic Commit Messages
  • Gitのコミットメッセージの書き方(2023年ver.)

依存しているパッケージのアップデートする場合のコミットメッセージ

タイプ、スコープを chore(deps): にする場合が多そう。

https://stackoverflow.com/questions/65855111/what-would-be-a-good-commit-message-for-updating-package-versions-using-conventi

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 favicon
github.com
This gist consist of the rules and best practice of good conventional git commit message