Claude Code still appends `Claude-Session:` commit trailers even with attribution disabled

rustyrazorblade · ghdev · 2026-07-15

Claude Code still appends Claude-Session: commit trailers even when attribution is disabled

A user reports that Claude Code 2.1.210 ignores local settings that disable commit and PR attribution. Even with "attribution": { "commit": "", "pr": "" }, the tool still injects a Claude-Session: https://claude.ai/code/session<id> trailer into git commit messages.

What works

What does not

Impact

This affects both the main session and spawned subagents, so users cannot fully disable attribution in commit metadata.

Original post →

More from coding & agent

coding & agent channel →