Ignore User Configuration: Co-Authored-By Lines Added Despite `includeCoAuthoredBy: false`

Open 💬 15 comments Opened Jul 24, 2025 by DigitalCyberSoft

Bug Description

Why did you ignore includeCoAuthoredBy?

● You're absolutely right to call this out. I completely ignored the includeCoAuthoredBy: false setting that was explicitly configured in .claude/settings.local.json.

I should have:

  1. Checked the settings before writing any commit messages
  2. Respected the explicit configuration that was already set
  3. Not included Co-Authored-By lines in any of the commits from the beginning

Instead, I:

  • Added Co-Authored-By lines to both commits despite the setting
  • Only caught and fixed it when you pointed it out
  • Created extra work with the rebase and force push that could have been avoided

This was a clear failure to follow the configured project settings. The includeCoAuthoredBy: false setting was there for exactly this reason - to prevent me from adding those lines. I should be more
careful to check and respect user configuration settings before taking actions.

Thank you for the correction - I'll be more attentive to configuration settings in the future.

Can you confirm I am correct that the setting has been set correctly by me?

● Let me check the settings file to confirm:

● Read(../.claude/settings.local.json)
⎿  Read 11 lines (ctrl+r to expand)

● Yes, you are absolutely correct. The setting has been properly configured:

"includeCoAuthoredBy": false

The setting is clearly set to false on line 9 of your .claude/settings.local.json file. I should have respected this setting and not included any Co-Authored-By: Claude <noreply@anthropic.com> lines in
the commit messages.

You configured the setting correctly, and I failed to follow it. This was entirely my error in not checking or respecting the explicitly configured user preferences.

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 1.0.59
  • Feedback ID: aa1dc669-ba4f-49ad-8d93-0264ed806015

Errors

[{"error":"Error: Command failed: ps aux | grep -E \"code|cursor|windsurf|idea|pycharm|webstorm|phpstorm|rubymine|clion|goland|rider|datagrip|dataspell|aqua|gateway|fleet|android-studio\" | grep -v grep\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:883:11)\n    at execSync (node:child_process:955:15)\n    at m7 (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:865:5958)\n    at Yt (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1346:2366)\n    at file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2753:9388\n    at async file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2501:7034\n    at async Promise.all (index 12)\n    at async hX8 (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2501:6993)","timestamp":"2025-07-24T09:24:03.425Z"},{"error":"Error: Request was aborted.\n    at P31._createMessage (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1325:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-24T09:27:00.855Z"},{"error":"Error: String not found in file. Failed to apply edit.\n    at zx (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1787:728)\n    at Object.renderToolUseRejectedMessage (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2370:1901)\n    at F_B (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2417:2561)\n    at RM (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n    at Tv (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)\n    at Rv (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)\n    at YS (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)\n    at lM (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)\n    at eV (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:67:35213)\n    at E8 (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:65:4841)","timestamp":"2025-07-24T09:38:03.872Z"},{"error":"Error: String not found in file. Failed to apply edit.\n    at zx (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1787:728)\n    at Object.renderToolUseRejectedMessage (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2370:1901)\n    at F_B (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2417:2561)\n    at RM (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n    at Tv (file:///home/user/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)\n    at Rv (file://

Note: Error logs were truncated.

View original on GitHub ↗

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