← all policies/Rishi11pixel/block-force-push

━━ git

block-force-push

Block git push --force on any branch

enforce● PreToolUse● on by default● 1 pack installs

━━ when it runs

watchesevery tool the event fires for — not narrowed to particular tools

this pack enforces: a match returns a real denial rather than being recorded and discarded. what the denial then does depends on the event above.

━━ install

this one is on by default — taking the pack without flags turns it on, and the picker shows it pre-ticked.

ships in Rishi11pixel/block-force-push · v26cbc274467d · source ↗