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": "",
"sessionUrl": false
}
}
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!
Updated 02.09.2026
People report3 that claude is going wild and now adds attribution of sessionURL in which the commit was made. For sure we can disable that too, instruction in solution section is updated to disable that too. So this guide is still up-to-date.
