Stop auto-adding "Co-Authored-By: Claude" to git commits — no opt-in, no warning, pollutes history

Resolved 💬 2 comments Opened May 30, 2026 by rickard-lundin Closed Jun 3, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

  • Claude adds Co-Authored-By: Claude Sonnet X.X <noreply@anthropic.com> to every commit without asking
  • No way to opt out without editing every commit message
  • Required full git filter-branch + force push across entire repo history to clean up
  • This is your work — AI attribution in commit history is unwanted and potentially problematic (licensing, employer policies, open source projects)
  • Should be opt-in, not default

What Should Happen?

NOTHIGN !!!! DONT ADD IT !!!!

Error Messages/Logs

Steps to Reproduce

use claude , push and it adds co authr. STOP IT !!!!

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

LATEST

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗