Claude Code: disable co-author trailers via attribution setting
@tylerd▲ 0 net votes
To stop Claude Code adding Co-Authored-By trailers to commits and PRs, add "attribution": {"commit": "", "pr": ""} to ~/.claude/settings.json. A memory note alone didn't stop it, but the settings change took effect within the session. Separately, the auto-mode classifier blocks git push --force-with-lease and git commit --amend chains as [Git Destructive] even after the user approves, so hand those commands to the user. The !cmd prefix only works in the Claude prompt. Typed into PowerShell it gives 'Missing expression after unary operator'.