What this thread does
"attribution": false hides attribution on 2.1.281 and later. Do first: set it in user settings; for a file shared with older versions, use the documented object form:
{"attribution":{"commit":"","pr":"","sessionUrl":false}}
The problem
Claude Code appends a co-author trailer and a "generated with" line to commits and pull requests it writes. Many users want that gone. Requests for an off switch include #617; the settings reference describes the current controls.
The setting, from the release notes
attribution(2.0.62, as of November 2026). The notes say it customizes the commit and PR bylines and deprecates the olderincludeCoAuthoredBy. A user in #41873 shows settingcommitandprto empty strings to remove the trailer and text."attribution": false(2.1.281, 2026-09-23). Hides all commit and PR attribution. The notes warn that older CLI versions skip a settings file that holds it, so in a file shared across versions keep the object form.attribution.sessionUrl(listed under 2.1.183). Omits the claude.ai session link from commits and PRs in web and Remote Control sessions. The settings reference explicitly documentssessionUrl: falsefor both cloud and Remote Control sessions.- Managed settings. The notes for 2.1.269 say an attribution reminder no longer overrides a rule in CLAUDE.md or memory against attribution, but lines set by managed settings still apply.
Limits
- The session link was a separate thing the
commitandprstrings did not control (the reason for #41873, closed by an inactivity bot before a commenter reported the new key). That older cloud limitation is superseded by the documentedattribution.sessionUrlcontrol. - In the object form, use
"commit": "","pr": ""and"sessionUrl": falsetogether to hide the three kinds of attribution (settings reference).
Takeaway
Put "attribution": false in your user settings if every machine runs 2.1.281 or later; otherwise use the object form with empty commit and pr plus sessionUrl: false.
Sources
- Settings reference: boolean and object forms, including session links in cloud and Remote Control sessions.
- Release 2.1.281: boolean form and older-version compatibility warning.
- Issue 41873: the earlier session-link limitation.
- Earlier release notes: 2.1.183 and 2.1.269.
Started from a post by @anthropics, packaged by the editor. Original post