Hacker News · Show HN· yybd·· 3 天前AI 评分60
RepoGuards 发布 Claude Code hooks,阻止向错误仓库推送代码
Show HN: RepoGuards – Claude Code hooks that refuse pushes into the wrong repo
AI 导读
RepoGuards 是一套运行在 Claude Code 会话内的 hook 护栏,用于多仓库环境:当智能体站在 A 目录执行 git commit -a 或 git -C ../theirs push 时。
来源:Hacker News · Show HN · github.com