Commit Submit
Format
<type>: <简洁描述>
<简要说明变更内容>
Log: <简洁描述>
PMS: BUG-123456
Issue: Fixes #183
Influence: <影响说明>
- title + description 必须
- Log = title 去掉 type
- PMS/Issue/Influence 可选
PMS/Issue
- 项目名以
dde-或deepin-开头 → 必须问 - 用户提到 → 必须问
- 其他 → 跳过
Type
feat | fix | docs | style | refactor | perf | test | chore | ci
Examples
fix(user): resolve incorrect role mapping
Use correct role key from database config.
Log: resolve incorrect role mapping
feat(auth): add JWT authentication
Add JWT middleware with token validation.
Log: add JWT authentication
PMS: TASK-385999
Issue: Fixes #183
Rules
- 用户确认后才 commit
- 不主动问 PMS/Issue(除非必须)