Customize or Remove Claude's 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.
Log in to leave a comment.
The autoUpdatesChannel setting pins Claude Code to a stable release track that skips versions with major regressions.
The language setting makes Claude respond in your preferred language by default, across every session and project.
The companyAnnouncements setting surfaces team messages to every developer at startup, directly in their Claude Code session.