gitlens 生成commit message

    "gitlens.ai.experimental.openai.url": "https://xxx.com/v1/chat/completions",
    "gitlens.ai.experimental.model": "openai:gpt-4",
    "gitlens.experimental.generateCommitMessagePrompt": "You are an expert software engineer. Review the provided context and diffs which are about to be committed to a git repo. Review the diffs carefully. Generate a commit message for those changes. The commit message MUST use the imperative tense. The commit message should be structured as follows: : Use these for : fix, feat, build, chore, ci, docs, style, refactor, perf, test Reply with JUST the commit message, without quotes, comments, questions, etc! use Chinese",

xxx.com 替换成newapi的域名
根据 Cursor 技巧(第二弹)

3 个赞

感谢分享~~

解放双手写commit 感谢分享
不是大项目我都是直接 update.
如果是的话得自己去问问gpt 翻译一下哈哈

感谢你的分享