How to stop Claude Code from adding itself to commits
Claude Code can add Claude as a co-author in Git after it helps with code changes. Some developers do not want that label in personal projects, public , or company work because commit history can affect how work and responsibility are seen. One workaround is to change the `~/.claude/` so is disabled.
Another workaround is to add a rule in `CLAUDE.md` that tells Claude not to add its name, tool labels, model signatures, or generated-by notes to . The real issue is control: developers want to decide when AI help is visible in the commit record instead of having the tool add it automatically.
Key points
- Claude Code may add Claude as a co-author in Git .
- A setting in `~/.claude/` can disable .
- A `CLAUDE.md` instruction can tell Claude not to add AI labels to .
- Public and company can make AI more sensitive.
- The best choice depends on project rules, client expectations, and team norms.