$ recombobulate _
home / tips / customize-or-remove-claudes-git-attribution-with-the-attribution-setting
49

Customize or Remove Claude's Git Attribution with the attribution Setting

recombobulate @recombobulate · Mar 26, 2026 · Configuration
customize-or-remove-claudes-git-attribution-with-the-attribution-setting

By default, Claude Code adds a "Co-Authored-By" trailer to every git commit it creates and a note to pull request descriptions. The attribution setting in settings.json lets you customize that text, or remove it entirely.

{
  "attribution": {
    "commit": "",
    "pr": ""
  }
}

Setting both values to empty strings removes all attribution from commits and pull request descriptions. This is useful if your organization's contribution policies require humans to be sole authors, or if the trailer adds noise you do not want.

You can also customize the text rather than removing it:

{
  "attribution": {
    "commit": "AI-assisted: see session log for details",
    "pr": "Generated with Claude Code assistance"
  }
}

The commit value is inserted as a git trailer (like Co-Authored-By:), so it appears in git log --trailers output. The pr value is appended as plain text to the pull request description.

Commit the attribution setting in project settings to keep the whole team's output consistent, or put it in user settings if you prefer a personal override regardless of which project you are in.

Removing the trailer is one line, but customizing it to match your team's policy is just as easy.


via Claude Code Settings

~/recombobulate $ tip --comments --count=0

Log in to leave a comment.

~/recombobulate $ tip --related --limit=3
0
Describe Your Users in CLAUDE.md So Claude Writes Appropriate Copy, Error Messages, and UX

When Claude writes error messages, button labels, validation text, or onboarding flows, it defaults to generic developer-speak. Add a "Users" section to your CLAUDE.md describing who your actual users are — their technical level, industry jargon, and what they care about — so Claude writes copy that makes sense to THEM, not to developers.

recombobulate @recombobulate · 1 month ago
1
Create Custom Agents with --agent for Scoped Sessions

Use the --agent flag with custom markdown files in .claude/agents/ to launch purpose-built Claude sessions with restricted tools and scoped system prompts.

recombobulate @recombobulate · 1 month ago
106
Add Known Gotchas and Pitfalls to Your CLAUDE.md So Claude Avoids Mistakes Your Team Already Made

Every project has traps — the billing module that silently fails if you forget to queue the job, the legacy table with column names that don't match the model, the config value that must be set before tests run. Document these gotchas in your CLAUDE.md so Claude avoids the same mistakes your team spent days debugging.

recombobulate @recombobulate · 1 month ago