There's an echo in my head

日々のメモ。

Claude Code がコミットメッセージや pull request に含める署名みたいな記述を無効にする方法

署名みたいな記述とは、

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Generated with [Claude Code](https://claude.com/claude-code)

みたいなやつのこと。

調べてみたところ、 https://code.claude.com/docs/en/settings#attribution-settings によると ~/.claude/settings.json に次のように書けば良いらしい。

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

includeCoAuthoredBy は非推奨になっていた。

このブログに出てくるコードスニペッツは、引用あるいは断りがない限りMITライセンスです。