Closed2

コミットメッセージについて

nogunogu

コミットメッセージ
feat: 〇〇なため、△△を追加

  1. Prefixをつける
    Prefixとは何かしらのテキストの先頭につける文字のこと。
  • feat: 新しい機能
  • fix: バグの修正
  • docs: ドキュメントのみの変更
  • style: 空白、フォーマット、セミコロン追加など
  • refactor: 仕様に影響がないコード改善(リファクタ)
  • perf: パフォーマンス向上関連
  • test: テスト関連
  • chore: ビルド、補助ツール、ライブラリ関連
feat: A new feature
fix: A bug fix
docs: Documentation only changes 
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
refactor: A code change that neither fixes a bug nor adds a feature
perf: A code change that improves performance
test: Adding missing or correcting existing tests
chore: Changes to the build process or auxiliary tools and libraries such as documentation generation
  1. 理由を書く
  2. 日本語 or 英語?
    日本人チームでは日本語、個人開発やOSSとして公開するものは英語

英語で書くメリット

語学力向上
最初に動詞が来るためぱっと見てわかりやすい
OSSの貢献ハードルが下がる

このスクラップは2023/10/29にクローズされました