Codú
Niall Maher1 min read

How to Disable Claude Code Attribution

Tired of Claude Code adding "Co-Authored-By: Claude" to your commits? Here's the fix.

The Setting

Add this to your ~/.claude/settings.json (global) or .claude/settings.json (project-specific):

{
  "attribution": {
    "commit": "",
    "pr": ""
  }
}

Setting both values to empty strings removes all attribution from commits and pull requests.

Quick Notes

  • This replaces the older includeCoAuthoredBy setting
  • Global settings apply everywhere; project settings override them
  • There's a known bug where Claude Code occasionally ignores this setting — if you hit it, it's tracked on GitHub

That's it. No more AI advertising in your git history.

ProductivityClaudeWeb Developer

Founder of Codú - The web developer community! I've worked in nearly every corner of technology businesses: Lead Developer, Software Architect, Product Manager, CTO, and now happily a Founder.

Loading

Loading discussion...

Hey! 👋

Got something to say?

or to leave a comment.