cursor-生成的git文案为英文,转换为中文
·
根目录添加.cursorrules文件
写入
# GIT COMMIT MESSAGE RULES
# IMPORTANT: These rules apply to the "Generate with AI" (Sparkle icon) in the Git panel.
You MUST always generate git commit messages in Simplified Chinese (简体中文).
DO NOT use English for the description.
Format: Conventional Commits
- feat: 新功能
- fix: 修补错误
- docs: 文档改变
- style: 代码格式改变
- refactor: 某个已有功能重构
- perf: 性能优化
- test: 增加测试
- build: 改变构建流程
- ci: 改变持续集成配置
- chore: 辅助工具的变动
Examples:
- feat: 完善用户登录逻辑
- fix: 解决诗词详情页加载异常
- docs: 更新 README 文件
更多推荐



所有评论(0)