chore: 添加git提交消息规范文件

新增项目专属的git提交消息规则文档,统一团队提交规范,确保commit消息格式、语言和内容符合要求
This commit is contained in:
Yuhang Wu 2026-08-19 17:42:24 +08:00
parent a02637c5ed
commit d1926cde42
1 changed files with 19 additions and 0 deletions

View File

@ -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