All posts
·1 min read·Vikram Pawar

Customizing Claude Code Commit Authorship with includeCoAuthoredBy

How to control whether Claude's byline appears in your git commits and pull requests

claude-codegit

When using Claude Code for development tasks, you might notice that git commits and pull requests automatically include a "Co-Authored-By: Claude" line. While this transparency about AI assistance can be valuable, there are scenarios where you might prefer cleaner commit messages without the co-authorship attribution.

The includeCoAuthoredBy Setting

Claude Code includes an includeCoAuthoredBy setting that controls this behavior. By default, it's set to true, meaning all commits will include Claude's byline. Setting it to false removes this attribution entirely.

Configuration

Add this setting to your settings.json file:

\{
  "includeCoAuthoredBy": false
\}

The settings file is typically located at:

  • macOS/Linux: ~/.config/claude-code/settings.json
  • Windows: %APPDATA%\claude-code\settings.json

Considerations

While removing the co-authorship attribution gives you cleaner commits, consider whether transparency about AI assistance aligns with your project's collaboration standards. Some teams value knowing when AI tools contributed to code changes for review and maintenance purposes.

Related posts

The Cognitive Muscle Memory Problem with AI-Assisted Development

Why switching to AI-assisted development feels exhausting even for experienced developers, and why it might take years before it feels natural.

21 Feb 2026 · 6 min read

Building an Automated Link Enrichment System with Claude Code

How I built a personal workflow that transforms bare URLs into rich, searchable knowledge base entries—using plain English instructions instead of code.

22 Jan 2026 · 5 min read

Voice Dictation on Linux: A Game-Changer for My Claude Code Workflow

I use Claude Code constantly and had grown accustomed to dictating on Mac. Not having dictation on Linux was painful - until I built my own solution with faster-whisper.

8 Jan 2026 · 2 min read