~/.claude/settings.json에 attribution 내 항목을 비워두면 커밋/PR 시 co-authored-by가 자동으로 추가되지 않음

{
  "attribution": {
    "commit": "",
    "pr": ""
  }
}

hook을 이용해서도 제거할 수 있음 ~/.git-hooks/commit-msg 와 같이 추가하여 처리 가능함

#!/bin/sh
# Co-Authored-By, Claude-Session, Generated with 등 제거
sed -i.bak -e '/^Co-Authored-By:/d' \
           -e '/^Claude-Session:/d' \
           -e '/Generated with Claude Code/d' \
           -e '/🤖 Generated with/d' "$1"
rm -f "$1.bak"