메뉴
HN
Hacker News • 26일 전

Claude Code, 커밋 메시지에 세션 URL 기본 추가 논란

IMP
5/10
핵심 요약

Claude Code가 생성하는 모든 커밋 메시지와 PR 설명에 세션 URL이 별도 안내 없이 자동으로 추가되어 사용자들의 불만이 제기되었습니다. 사용자는 온보딩 과정에서 이에 대한 어떤 안내도 받지 못한 채 git 히스토리가 오염된 후에야 이를 발견하게 됩니다. 기능 요청은 이를 옵트인 방식으로 변경하거나 설정을 쉽게 찾을 수 있게 개선할 것을 제안하고 있습니다.

번역된 본문

GitHub의 anthropics/claude-code 저장소에 제기된 기능 요청 이슈입니다.

제목: [기능 요청] 커밋 메시지와 PR 설명에 세션 URL이 기본으로 추가됨 — 옵트인이어야 함 (#66504)

상태: 종료됨(Closed) / 라벨: enhancement(신규 기능 요청), user-experience

문제 설명

Claude Code가 생성하는 모든 커밋 메시지와 PR 설명 하단에 세션 URL(예: https://claude.ai/code/session_...)이 자동으로 포함됩니다. 옵트인 동의 요청도, 경고도, 온보딩 중 언급도 없습니다. 사용자들은 이미 git 히스토리가 오염된 후에야 이를 발견하게 됩니다.

제안 해결책

세션 URL 어트리뷰션을 옵트인 방식으로 변경 — 사용자가 명시적으로 활성화하지 않는 한 포함하지 않도록 합니다. 온보딩 중 일회성 프롬프트("커밋 메시지에 이 Claude 세션으로 돌아가는 링크를 포함하시겠습니까?")를 보여주는 것이 이상적인 UX입니다.

대안

  • 옵트아웃 방식은 유지하되 설정을 찾기 쉽게 개선 — 첫 커밋 시 "다시 추가하지 않음" 옵션 표시
  • 완전히 제거하고 기존의 Co-Authored-By: Claude 트레일러만으로 어트리뷰션 유지

우선순위: 중간 — 매우 유용할 것임

사용 예시

개발자가 Claude Code로 기능을 개발하고, 커밋한 뒤 PR을 엽니다. 팀원과 오픈소스 기여자들이 모든 커밋과 PR 설명 하단의 https://claude.ai/code/session_... 링크를 보게 됩니다. 이는 비전문적으로 보이고 히스토리를 지저분하게 만들며, 개발자는 그런 링크가 추가되는지조차 몰랐습니다.

추가 컨텍스트

  • .claude/settings.json의 attribution.commit: "" 설정으로 이를 억제할 수 있지만, 이 설정의 존재를 아는 사람이 거의 없습니다.
  • commit-msg git 훅으로도 제거할 수 있지만, 원격/클라우드 환경에서는 항상 안정적으로 작동하지 않습니다.
원문 보기
원문 보기 (영어)
Uh oh! There was an error while loading. Please reload this page . anthropics / claude-code Public Notifications You must be signed in to change notification settings Fork 22.9k Star 143k [FEATURE] Session URL appended to commit messages and PR descriptions by default — should be opt-in #66504 New issue Copy link New issue Copy link Closed Closed [FEATURE] Session URL appended to commit messages and PR descriptions by default — should be opt-in #66504 Copy link Labels enhancement New feature or request New feature or request user-experience Description joka-7 opened on Jun 9, 2026 Issue body actions Preflight Checklist I have searched existing requests and this feature hasn't been requested yet This is a single feature request (not multiple features) Problem Statement Every commit message and PR description created by Claude Code automatically includes a session URL at the bottom (e.g. https://claude.ai/code/session _...). There is no opt-in prompt, no warning, and no mention of it during onboarding. Users only discover it after it's already polluting their git history. Proposed Solution Make the session URL attribution opt-in — don't include it unless the user explicitly enables it. A one-time prompt during onboarding ("Would you like to include a link back to this Claude session in commit messages?") would be the ideal UX. Alternative Solutions Keep it opt-out but make the setting discoverable — show it during first commit with a "Don't add this again" option Remove it entirely and rely only on the existing Co-Authored-By: Claude trailer for attribution Priority Medium - Would be very helpful Feature Category Other Use Case Example A developer uses Claude Code to build a feature, commits the work, and opens a PR. Their teammates and open source contributors see https://claude.ai/code/session _... at the bottom of every commit and PR description. It looks unprofessional, clutters history, and the developer had no idea it was being added. Additional Context The attribution.commit: "" setting in .claude/settings.json can suppress it, but it's completely undiscovered A commit-msg git hook can also strip it, but it doesn't always fire reliably in remote/cloud environments Reactions are currently unavailable Metadata Metadata Assignees No one assigned Labels enhancement New feature or request New feature or request user-experience Type No type Projects No projects Milestone No milestone Relationships None yet Development No branches or pull requests Issue actions Open in GitHub Copilot app
관련 소식