TIL: Disable Claude Code's Co-Author Git Attribution Claude Code now controls git and pull-request attribution through a dedicated `attribution` configuration object, and older keys such as `gitCommitCoAuthor` and the deprecated `includeCoAuthoredBy` are ignored, according to a TIL write-up on disabling the trailers. By default Anthropic's Claude Code appends a `Co-Authored-By: Claude` trailer to commits, a `Generated with Claude Code` footer to pull requests, and a `Claude-Session: ` trailer to remote sessions; setting `commit` and `pr` to empty strings in `~/.claude/settings.json` or `.claude/settings.json` drops them, and `sessionUrl: false` suppresses the session URL. The write-up also recommends `CLAUDE.md` rules and a `commit-msg` git hook to strip `Co-Authored-By: Claude` lines for enforcement across agent runs. On this page Disable Claude Code's Co-Author Git Attribution Today I learned how to stop Claude Code from adding git attribution trailers to my commits and pull requests. I initially added "gitCommitCoAuthor": false to my settings file. I expected that to silence the AI commit signatures. It did not. Claude Code continued stamping Co-Authored-By: Claude < trailers onto every commit and appending footer notes to pull requests. \ email protected\ https://kondasamy.com/cdn-cgi/l/email-protection The culprit was a configuration mismatch. Older boolean flags like includeCoAuthoredBy are deprecated, and unmapped keys like gitCommitCoAuthor are ignored. Current versions of Claude Code control this behavior through a dedicated attribution configuration object. The Default Behavior By default, Anthropic configures Claude Code to stamp provenance data onto your version control artifacts: 1. Git commits: Appends a Co-Authored-By: Claude < \ email protected\ https://kondasamy.com/cdn-cgi/l/email-protection trailer line. 2. Pull requests: Appends a Generated with Claude Code footer note. 3. Remote sessions: Appends a Claude-Session: