Skip to content

[FEATURE] Add setting to disable Co-Authored-By attribution in commits #22585

Description

@JavierPachas

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Feature Request: Optional Co-Authored-By Attribution

Problem:
Currently, Claude Code automatically adds Co-Authored-By: Claude <model> <email>
to all commits it creates. There is no way to disable this behavior.

Proposed Solution

Requested Feature:
Add a user-configurable setting to disable Co-Authored-By attribution in commits.

Proposed Solution:
Add a setting in Claude Code configuration:

  • Location: Settings > Git (or similar)
  • Setting name: "Include Co-Authored-By attribution in commits"
  • Type: Toggle/Checkbox (default: ON)

Alternative Solutions

Current Workaround:
Users must either:

  1. Manually rewrite Git history after each commit
  2. Create custom Git hooks to strip attribution
  3. Make commits manually instead of using Claude Code

Expected Behavior:
When disabled, commits created by Claude Code should not include
the Co-Authored-By trailer.

Priority

Medium - Would be very helpful

Feature Category

Configuration and settings

Use Case Example

Use Case:

  • Personal projects where attribution is not desired
  • Organizational policies that don't permit this format
  • Users who prefer clean commit messages
  • Portfolio projects on GitHub

Additional Context

Additional Context:
This should be transparent and easily discoverable, similar to how
other Git-related settings are configured in modern IDEs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions