Here's the block which is injected:
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_**************
- End pull request descriptions with: Generated with [Claude Code]…
This can be overriden by adding or modifying your .claude/settings.json:
"attribution": {
"commit": "",
"sessionUrl": false
}