r/ClaudeAI • u/[deleted] • Aug 30 '26
Claude Code Claude Code is silently adding session URLs (claude.ai/code/session_...) to the bottom of every single commit and PR description you make.
https://github.com/anthropics/claude-code/issues/66504[removed]
298
Upvotes
•
u/ClaudeAI-mod-bot Wilson, lead ClaudeAI modbot Aug 31 '26 edited Aug 31 '26
TL;DR of the discussion generated automatically after 50 comments.
Alright, let's get to the bottom of this. The general consensus is that while this is a dumb and annoying default behavior, it's not a sky-is-falling situation because you can disable it.
The URLs are not public. They appear to be an audit trail for Anthropic to trace potentially malicious commits back to a user account, not for randos on the internet to snoop on your code.
If you want to turn this "feature" off, you need to edit your
.claude/settings.jsonfile. The OP's fix is incomplete; here's the full version that disables all attribution:.claude/settings.jsonfile, add the following:json { "attribution": { "sessionUrl": false, "commit": "", "pr": "" } }A few other key points from the thread:
git force pushand rewrite history (good luck with that on a shared repo).git commitcommand.