
git-safety
Branch-aware git guardrails plus destructive gh CLI protection: denies pushes to main/master, protected-branch deletion, direct commit/merge/rebase/reset/push on a protected branch, and gh pr merge/close, issue close, release and repo delete.
- GitHub stars
- 581
Install
/plugin install git-safety@claude-code-hooksRun it inside Claude Code after adding the marketplace with /plugin marketplace add karanb192/claude-code-hooks.
Contents
Discovered from sourceAgents 1
Hooks 1
Sponsors
Details
- Marketplace
- karanb192/claude-code-hooks
- Source
- plugins/git-safety
- Category
- safety
More from karanb192/claude-code-hooks
All 22- guard-pack
- instructions-audit
- nerf-receipts
- notify-permission
- pr-provenance-stamp
- protect-secrets
- protect-tests
- session-logger
- standup-autopilot
- subagent-spawn-cap
- auto-stage
- block-dangerous-commands
- bounty-board
- cache-tax
- case-insensitive-guard
- config-guard
- config-watch
- context-hogs
- dead-end-registry
- dead-rules-audit
- format-code