Code Commit
Create well-structured git commits with meaningful messages.
Format
<type>(<scope>): <subject>
<body>
<footer>
Types
| Type | Use For |
|---|---|
feat |
New feature |
fix |
Bug fix |
docs |
Documentation |
refactor |
Code restructuring |
test |
Adding tests |
chore |
Maintenance |
Examples
feat(auth): add user login functionality
Implement JWT-based authentication with:
- Login endpoint
- Token validation
Closes #123
fix(api): handle null response in user query
Rules
- Atomic - One logical change per commit
- Present tense - "add" not "added"
- 50/72 - Subject ≤50, body wrapped at 72
- Reference issues -
Closes #123orFixes #456
Converted and distributed by TomeVault — claim your Tome and manage your conversions.