How to disable the Co-Authored-By Claude boilerplate in your git commits
Solution
Open ~/.claude/settings.json with your favorite editor and add this to your json config. This is taken from Claude docs1
{
// ...
"attribution": {
"commit": "",
"pr": ""
}
}
Why
This actually makes no sense and I agree with Rob Pike’s take on that2. It just adds non-readable boilerplate that does not add any value to the git commit. If it was committed by some guy I expect him to take responsibility of that commit, not some excuse like “that was written by Claude, sorry I didn’t check”. So it makes no sense at all, we are blind to that string anyway. Git commits should be atomic, simple and readable, not overwhelmed by nonsense. The trick above will help you with that.
Happy vibe-coding!
