Skip to content

includeCoAuthoredBy: false setting not respected#14241

Description

@aliwatters

Description

The includeCoAuthoredBy: false and gitAttribution: false settings in ~/.claude/settings.json are not being respected. Commits made by Claude Code still include the attribution trailers:

馃 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Configuration

// ~/.claude/settings.json
{
  "model": "claude-opus-4-5-20251101",
  "includeCoAuthoredBy": false,
  "gitAttribution": false,
  // ... other settings
}

Expected Behavior

When includeCoAuthoredBy: false is set, commit messages should NOT include:

  • 馃 Generated with [Claude Code](...)
  • Co-Authored-By: Claude ...

Actual Behavior

The trailers are still added to every commit, regardless of the setting.

Workaround

Added a commit-msg git hook to strip the trailers:

#!/usr/bin/env bash
sed -i '' '/^馃 Generated with \[Claude Code\]/d' "$1"
sed -i '' '/^Co-Authored-By: Claude/d' "$1"

Environment

  • Claude Code version: Latest (Dec 2025)
  • OS: macOS Darwin 25.1.0
  • Model: claude-opus-4-5-20251101

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