Claude Code 注入了一个系统提醒,以替代归属指导。

1作者: _mfk16 天前原帖
以下是注入的内容: <p>从现在开始,您创建的 git 提交和拉取请求的归属信息(这将替代之前的归属指导): - 在 git 提交信息的末尾添加: Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_************** - 在拉取请求描述的末尾添加: 由 [Claude Code] 生成…<p>这可以通过添加或修改您的 .claude/settings.json 文件来覆盖: <p>“attribution”: { “commit”: “”, “sessionUrl”: false }
查看原文
Here&#x27;s the block which is injected:<p>Attribution for git commits and pull requests you create from here on (this replaces any earlier attribution guidance): - End git commit messages with: Co-Authored-By: Claude Opus 5 &lt;[email protected]&gt; Claude-Session: https:&#x2F;&#x2F;claude.ai&#x2F;code&#x2F;session_************** - End pull request descriptions with: Generated with [Claude Code]…<p>This can be overriden by adding or modifying your .claude&#x2F;settings.json:<p>&quot;attribution&quot;: { &quot;commit&quot;: &quot;&quot;, &quot;sessionUrl&quot;: false }