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.

eliferjunior Updated 0 repo stars

File contents

eliferjunior/Claude commit 53b400c74c

Frequently asked questions

npx get-skill add eliferjunior/git-guardrails-claude-code