How to stop Claude Code adding Co-Authored-By to your commits24 September 2026·5 minsOne setting removes the attribution trailer at the source. A PreToolUse hook is the backstop - with one gotcha that made mine reject my own grep.