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.

kevinnft Updated

File contents

kevinnft/ai-agent-skills/tree/main/skills/mattpocock/misc/git-guardrails-claude-code commit 8e88c1a77f

Frequently asked questions

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