Git Guardrails Claude Code

by mattpocockc55ee46073edNo licenseListed Oct 8, 2026Updated Oct 8, 2026

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.

Includes scriptsSecurityAI & Agents
  1. c55ee46073edCurrentcommit c55ee46Published Oct 8, 2026

Source and attribution

Source:mattpocock/skillsinskills/misc/git-guardrails-claude-codeat commitc55ee46

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal