# git commit template ## type (必填):提交的类别 - feat: 新功能 (feature) - fix: 修补 bug - docs: 仅文档更改 (documentation) - style: 格式变动,不影响代码运行 (whitespace, formatting, missing semi-colons) - refactor: 重构 (即不是新增功能,也不是修改bug的代码变动) - perf: 提高性能的代码更改 - test: 增加测试或修改现有测试 - chore: 构建过程或辅助工具的变动 (maintain) - revert: 回滚提交 ## scope (选填):说明影响的范围(如模块名、组件名) 例:feat(auth): ..., fix(nav-bar): ... ## subject (必填) 简短描述,不超过 50 个字符,使用祈使句,结尾不加句号。