跳到正文
Hacker News· maitland·· 44 分钟前AI 评分22

用 Git hook 去除 Claude Code 提交署名

A Git hook to augment Claude-code attribution

AI 导读

strip-claude 是一个 Git commit-msg hook,用于删除提交信息末尾的 Claude Code 署名行,如 Co-Authored-By: Claude Sonnet 5、Claude-Session 和 Generated with Claude Code。

来源:Hacker News · gist.github.com