Git Commit Rule
8/8/25Less than 1 minute
Structure:
# []: optional, <>: required
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Main
1. Type
fix
feat
refactor
docs
style
perl: performance Optimize
vendor: up/down-grade version
chore
2. Scope
Scope in source
Body
Multiline with blank line
Footer
- Review
- Link/ID Pull request, commit
BREAKING CHANGE
For big update/change code
1. !
fix!: remove module A
2. BREAKING CHANGE Footer
fix!: remove module A
BREAKING CHANGE: remove module A and replace it with module B
Sample
feat(auth): implement login function.
see the document for details
Reviewed-by: A
Refs #123