Files
JKVideo/.kiro/steering/commit-convention.md

34 lines
616 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
inclusion: always
---
# 提交规范Conventional Commits
所有 git commit 必须遵循以下格式:
```
<type>(<scope>): <描述>
[可选正文]
```
## 类型说明
| 类型 | 含义 |
|------|------|
| feat | 新功能 |
| fix | Bug 修复 |
| refactor | 重构(不改变功能) |
| docs | 文档更新 |
| chore | 构建脚本、依赖更新等 |
| style | 代码格式(不影响逻辑) |
| perf | 性能优化 |
## 示例
```
feat(danmaku): 添加弹幕字体大小设置
fix(player): 修复 DASH MPD 解析在 Android 12 上崩溃的问题
docs: 更新 README 快速开始步骤
```