Skip to content

Instantly share code, notes, and snippets.

@otaon
Last active March 30, 2022 03:52
Show Gist options
  • Save otaon/13fdf5e035c968e240632bee7e952f46 to your computer and use it in GitHub Desktop.
Save otaon/13fdf5e035c968e240632bee7e952f46 to your computer and use it in GitHub Desktop.
gitのcommitで使用するプレフィックス

参考文献

プレフィックス一覧

AngularJSで使用されているプレフィックス

  • 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

利点

  • プレフィックスの意味を思い出しやすい。

欠点

  • 文字数が多くコミットメッセージの邪魔になりやすい。

参考

AngularJS

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