git commit -m <type>[optional scope]: <description>
- type: used to describe the type of changes submitted, only the following flags are allowed
- optional scope: optional modification scope, used to identify which module in the code is mainly involved in the commit
- description: describe the main content of the submission, keep it concise, no more than 50 characters and no period
feat: :sparkles: Added SafeArea component
fix: :bug: Fixed the display problem of the submenu in the left navbar
chore: :wrench: Added Hooks dependency -> ahooks
View types
type | gitmoji | description |
---|---|---|
init | 🌈 | initialization |
feat | ✨ | new features |
fix | 🐛 | fix bugs |
update | 🔨 | update something |
wip | 🚧 | in development |
rename | ✏️ | rename modification |
perf | ⚡ | optimization related (performance, experience) |
docs | 📚 | document modification |
style | 💅 | code format modification |
refactor | ♻️ | refactoring code |
test | ✅ | test related changes |
revert | ⏪ | rollback to previous version |
release | 🏆 | new semantic version |
ci | 🚦 | continuous integration modifications |
chore | 🔧 | project build or changes to dependencies |
mod | indeterminate classification modification |