Repository navigation
Disable Claude Code commit and PR attribution - #136
Draft
Protonmatter wants to merge 1 commit into
Draft
Protonmatter wants to merge 1 commit into
Protonmatter wants to merge 1 commit into
Conversation
Set attribution.commit and attribution.pr to empty strings and attribution.sessionUrl to false in the shared project settings, so Claude Code sessions in this repository omit the Co-Authored-By trailer, the PR footer and the session link.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
Claude Code sessions in this repository stop adding attribution to commits and pull request descriptions. Today they add a
Co-Authored-Bytrailer, a "Generated with Claude Code" PR footer and aClaude-Sessionlink. After this change they add none of these.Specification and traceability
attributionkey (https://code.claude.com/docs/en/settings-reference.md)Correctness and risk
attribution: {commit: "", pr: "", sessionUrl: false}to.claude/settings.json. An empty string hides that attribution line.includeCoAuthoredByis deprecated and is not used here..claude/settings.jsonis read in single-repo cloud sessions.commit/prbehavior in cloud sessions, so confirm on the next session.UI and UX
Not applicable.
Validation evidence
Commands and results:
Documentation
Note:
.claude/is listed in.gitignore, butsettings.jsonis already tracked, so changes to it are still committed.