Skip to content

Commit 8725a79

Browse files
committed
docs: 添加 Conventional Commits 提交规范 steering 文件
1 parent 6f7c999 commit 8725a79

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
inclusion: always
3+
---
4+
5+
# 提交规范(Conventional Commits)
6+
7+
所有 git commit 必须遵循以下格式:
8+
9+
```
10+
<type>(<scope>): <描述>
11+
12+
[可选正文]
13+
```
14+
15+
## 类型说明
16+
17+
| 类型 | 含义 |
18+
|------|------|
19+
| feat | 新功能 |
20+
| fix | Bug 修复 |
21+
| refactor | 重构(不改变功能) |
22+
| docs | 文档更新 |
23+
| chore | 构建脚本、依赖更新等 |
24+
| style | 代码格式(不影响逻辑) |
25+
| perf | 性能优化 |
26+
27+
## 示例
28+
29+
```
30+
feat(danmaku): 添加弹幕字体大小设置
31+
fix(player): 修复 DASH MPD 解析在 Android 12 上崩溃的问题
32+
docs: 更新 README 快速开始步骤
33+
```

0 commit comments

Comments
 (0)