# Git 提交规范指南 本项目使用 [Conventional Commits](https://www.conventionalcommits.org/) 规范,通过 `commitizen` + `cz-git` 提供交互式提交体验。 ## 快速开始 ### 使用交互式提交(推荐) ```bash # 1. 暂存你的更改 git add . # 2. 使用交互式提交 pnpm commit ``` 交互式提交会引导你完成: 1. 选择提交类型(feat/fix/docs 等) 2. 选择影响范围(common/vue3/uni-app 等,可跳过) 3. 输入简短描述(必填,4-100 字符) 4. 输入详细描述(可选) 5. 是否有破坏性变更(可选) 6. 关联 Issue(可选) ### 手动提交 如果你熟悉规范,也可以手动提交: ```bash git commit -m "feat(common): 添加 debounce 防抖函数" ``` ## 提交信息格式 ``` ():