git-guardrails-claude-code

569.7K 次安装GitHub 仓库 ↗

安装

简介

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

相关 skills