commit type
The word at the start of a Conventional Commits subject that says what kind of change the commit is, such as feat or fix.
In more detail
feat means a new feature and fix a bug fix; these two come from the specification. Others such as docs, style, refactor, perf, test, build, ci, chore and revert are widely used conventions. An optional scope in parentheses names the part of the system, as in feat(auth).
Example
fix(parser): handle an empty lineRelated terms
- Conventional Commits — A specification for commit subject lines of the form type(optional scope): description, so tools can read what kind of change each commit is.
- breaking change — A change that makes existing users of a program or interface stop working until they change something too.
- refactoring — Restructuring working code to make it clearer or easier to change without changing what it does.
Taught in
- Conventional Commits — Advanced Git Internals & Distributed Workflows
- Reading History: log, show And diff — Advanced Git Internals & Distributed Workflows
- The Pull Request, And Branch Naming — Advanced Git Internals & Distributed Workflows