1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

GitHubのコミットメッセージで見る「feat:」とかについて

1
Posted at

概要

GitHubのコミットメッセージで頭に付ける「feat:」「fix:」とかについて、Conventional Commitsと呼ばれています。

一覧

feat:

  • 新機能の追加
  • 例:feat: ユーザー登録機能を追加

fix:

  • バグ修正
  • 例:fix: ログイン失敗時のエラー表示を修正

docs:

  • ドキュメントのみの変更
  • 例:docs: READMEにセットアップ手順を追加

refactor:

  • 仕様を変えないコード改善
  • 例:refactor: UserServiceの処理を整理

test:

  • テストの追加・修正
  • 例:test: ログイン処理の単体テストを追加

chore:

  • 雑務・設定変更など
  • 例:chore: .gitignoreを更新

style:

  • コードの意味に影響しない見た目の修正
  • 例:style: インデントを修正

perf:

  • パフォーマンス改善
  • 例:perf: 検索処理を高速化

ci:

  • CI/CD設定の変更
  • 例:ci: GitHub Actionsの設定を追加

最後に

chore:があまり馴染みありませんでした。
「chore」は「雑用」という意味だそうです。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?