Git Guardrails Claude Code

Set up Claude Code hooks to block dangerous git commands (force-push, direct push to protected branches, 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.

wakqasahmed Updated 2 repo stars

File contents

wakqasahmed/ai-engineering-workflow-skills commit 6281f3d9b2

Frequently asked questions

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