chore: 添加git提交消息规范文件
新增项目专属的git提交消息规则文档,统一团队提交规范,确保commit消息格式、语言和内容符合要求
This commit is contained in:
parent
a02637c5ed
commit
d1926cde42
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
alwaysApply: true
|
||||
scene: git_message
|
||||
---
|
||||
|
||||
## Git Commit Message Rules
|
||||
|
||||
### Language Requirement
|
||||
- All generated commit messages **MUST BE in Chinese (中文)**.
|
||||
- Do NOT use English for commit messages.
|
||||
|
||||
### Format Requirement
|
||||
- First line: Short description (under 50 characters)
|
||||
- Empty line
|
||||
- Body (optional): Detailed description of changes and reasons
|
||||
|
||||
### Content Requirement
|
||||
- Clearly describe "What was changed" and "Why it was changed"
|
||||
- Keep it concise and accurate
|
||||
Loading…
Reference in New Issue