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.

dini-2000 Updated 1 repo stars
Claude Code Tune-up. Everyday work, with checks that always run. Plain writing: a hook flags AI tells. Decks and docs: 60 themes, PDF and PPTX. Survives limits:

File contents

dini-2000/claude-toolbox commit 2f104629e1

Frequently asked questions

npx get-skill add dini-2000/git-guardrails-claude-code