- •Write commit messages with a concise, objective description of what changed; do not explain why.
- •Follow the conventional commit format:
wheretext
<type>(<scope>): <description>
scopeis optional anddescriptionis short and imperative. - •The title should be brief, imperative, and have no trailing period.
- •If additional details are necessary, add them below the title after a blank line, using point form.
- •Use one of the following common commit types:
- •feat
- •fix
- •docs
- •style
- •refactor
- •test
- •chore
- •The latest commit content can be inspected for context with:
bash
git show
Example:
text
feat(parser): add nested expression support fix(ui): correct login form alignment docs: update README setup instructions