27 lines
540 B
Markdown
27 lines
540 B
Markdown
|
# 指南
|
|||
|
|
|||
|
## Commit 指南
|
|||
|
|
|||
|
Commit messages 请遵循[conventional-changelog 标准](https://www.conventionalcommits.org/en/v1.0.0/):
|
|||
|
|
|||
|
```bash
|
|||
|
<类型>[可选 范围]: <描述>
|
|||
|
|
|||
|
[可选 正文]
|
|||
|
|
|||
|
[可选 脚注]
|
|||
|
```
|
|||
|
|
|||
|
### Commit 类型
|
|||
|
|
|||
|
以下是 commit 类型列表:
|
|||
|
|
|||
|
- feat: 新特性或功能
|
|||
|
- fix: 缺陷修复
|
|||
|
- docs: 文档更新
|
|||
|
- style: 代码风格或者组件样式更新
|
|||
|
- refactor: 代码重构,不引入新功能和缺陷修复
|
|||
|
- perf: 性能优化
|
|||
|
- test: 单元测试
|
|||
|
- chore: 其他不修改 src 或测试文件的提交
|