Commit Conventions

Quick reference for standard commit message types

FEAT

A new feature or capability

Example:

feat: add user authentication
FIX

A bug fix

Example:

fix: resolve login page styling issue
DOCS

Documentation only changes

Example:

docs: update README with setup instructions
STYLE

Changes that do not affect code functionality (formatting, missing semicolons, etc)

Example:

style: format code according to linter rules
REFACTOR

Code change that neither fixes a bug nor adds a feature

Example:

refactor: restructure authentication module
PERF

Code change that improves performance

Example:

perf: optimize image loading with lazy loading
TEST

Adding or updating tests

Example:

test: add unit tests for authentication
CHORE

Changes to build process, dependencies, or other non-code tasks

Example:

chore: update dependencies to latest versions
CI

Changes to CI/CD configuration files

Example:

ci: add GitHub Actions workflow for tests
BUILD

Changes that affect the build system or dependencies

Example:

build: add webpack configuration
REVERT

Reverts a previous commit

Example:

revert: undo previous feature implementation