Intermittent Claude Branding Insertion in Commit/PR Messages

Status Fixed / completed
Maintainer reply ✓ Yes — ashwin-ant
Activity 8 comments · opened Jun 13, 2025 · closed Jun 14, 2025
💡 Likely answer: A maintainer (ashwin-ant, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
I have to keep telling CC to remove any Claude branding in commit message and PR message. Adding it to global memory with # helped reduce the frequency CC adding branding to everything, but it still comes up from time to time.

Environment Info

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 1.0.22
  • Feedback ID:

View original on GitHub ↗

8 Comments

rawwerks · 1 year ago

it's literally written into the system prompt, good luck getting it to forget that:

Create PR using gh pr create with the format below. Use a HEREDOC to pass the body to ensure correct formatting.\\n<example>\\ngh pr create --title \\\"the pr title\\\" --body \\\"$(cat <<'EOF'\\n## Summary\\n<1-3 bullet points>\\n\\n## Test plan\\n[Checklist of TODOs for testing the pull request...]\\n\\n🤖 Generated with [Claude Code](https://claude.ai/code)\
ouj · 1 year ago

So I paid 200 month and still have to see ads?

ashwin-ant collaborator · 1 year ago

You can disable this in your settings.json file. Add a file to ~/.claude/settings.json like:

{
  "includeCoAuthoredBy": false
}

You can also set this in a project settings file. More info here.

rbellamy · 1 year ago
You can disable this in your settings.json file. Add a file to ~/.claude/settings.json like: { "includeCoAuthoredBy": false } You can also set this in a project settings file. More info here.

In which version? I'm running 1.0.31 and still get the co-authored commit messages.

% claude --version                                    
1.0.31 (Claude Code)
% claude config get includeCoAuthoredBy --global
Error: 'includeCoAuthoredBy' is not a valid config key. Valid keys are: apiKeyHelper, autoUpdaterStatus, theme, verbose, preferredNotifChannel, shiftEnterKeyBindingInstalled, editorMode, hasUsedBackslashReturn, supervisorMode, autoCompactEnabled, diffTool, env, tipsHistory, parallelTasksCount, todoFeatureEnabled, messageIdleNotifThresholdMs
zsh: exit 1     claude config get includeCoAuthoredBy --global
% grep includeCoAuthoredBy ./.claude/settings.local.json 
    "includeCoAuthoredBy": false
% grep includeCoAuthoredBy ~/.claude/settings.json      
  "includeCoAuthoredBy": false
RickCogley · 1 year ago

it's listed in the docs page cited, but the cli doesn't appear to recognize this

ashwin-ant collaborator · 1 year ago

@RickCogley are you able to get it working by adding it to your settings.json?

RickCogley · 1 year ago

Unsure. I added it to my global config and that worked 90%. Then I learned about the setting in the docs and tried adding from cli but it fails to recognize the key.

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.