Skip to content

Git Branching & Commit Naming Conventions

📂 Naming Convention

Pattern:

Terminal window
git branch <category>/<reference>/<description-in-kebab-case>

Categories:

Indicates the type of change made.

  • feat: Adding a feature
  • fix: Fixing a bug
  • refactor: Code improvements (e.g., readability, performance)
  • chore: Documentation, formatting, test additions, cleanups

Statements:

Short statements describing changes in imperative form (e.g., add, update, remove, fix). Separate multiple statements using semicolons (;).