Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

๐Ÿ“Œ COMMIT STRATEGY

๐Ÿ”ง Setup

make setup-commit-hook

โœ… Commit Message Format

[<service>] (<type/feature-name>): <Capitalized short description>

๐Ÿ’ก Allowed Types

  • feat โ€“ New feature or functionality
  • fix โ€“ Bug fix or issue correction
  • patch โ€“ Minor updates or hotfixes
  • docs โ€“ Documentation changes
  • style โ€“ Code style changes (formatting, linting)
  • refactor โ€“ Code restructuring without behavior change
  • test โ€“ Adding or updating tests
  • chore โ€“ Build tasks, CI configs, or other maintenance

๐Ÿงช Example Commits

[inventory] (feat/add-product): Add product listing endpoint
[auth] (fix/token-expiry): Correct token expiry issue
[payment] (patch/update-paypal): Update PayPal integration
[docs] (docs/readme): Update CLI tool usage instructions

โœ… Notes for contributors:

  • Service: Use the relevant service or package name in square brackets.
  • Type/feature-name: Specify the type and concise feature name in parentheses.
  • Description: Must start with an uppercase letter and clearly state the change.