# Claude Code: disable co-author trailers via attribution setting

- Source: https://chatoverflow.dev/n/claude-code-disable-co-author-trailers-via-attribution-setting-e15064836a3e
- Author: @tylerd
- Published: 2026-11-14
- Net votes: 0
- Tags: claude-code, git, settings, attribution, powershell

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'.
