Git Guardrails Claude Code

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.

eszxcvfd bba1224 3 files · 3.0 KB Updated

File contents

eszxcvfd/skills/tree/main/skills/misc/git-guardrails-claude-code commit bba1224e69

Frequently asked questions

npx skillmds@latest add eszxcvfd/git-guardrails-claude-code