Skip to content

Instantly share code, notes, and snippets.

View alvesfc's full-sized avatar
🎯
Focusing

Marcos Alves Cunha alvesfc

🎯
Focusing
View GitHub Profile

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@alvesfc
alvesfc / semantic-commit-messages.md
Created January 1, 2025 00:53 — forked from xero/semantic-commit-messages.md
bb commit style guide :: how we liven up the commit history

semantic commit messages

see how a minor change to your commit message style can make you a better programmer self generate {docs,changelog}, add context to the changeset, enable filtering (e.g. ignore styling or documentation changes), and liven up the commit history!

format: <type>(<scope>): <ticket> subject :emoji:

  • <scope>
    • optional
    • some changes are global or difficult to assign to a single component
  • ``