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.

lichao689 Updated 1 repo stars

File contents

lichao689/agent-engineering commit b389d7b33e

Frequently asked questions

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