GitHub Copilot 生成中文提交注释 Commit Message

如图

image

 

在里面添加如下指令:

Commit message instructions

  • Always write Git commit messages in Chinese.
  • Use a concise format like: feat: 添加...
  • Keep the summary in Chinese, no English unless required.
  • Prefer 1 sentence summary + optional body in Chinese.
  • Do not include long technical explanation.
posted @ 2026-10-10 14:46  蜗牛使劲冲  阅读(4)  评论(0)    收藏  举报