PreToolUse hook that blocks any Bash tool call matching `git push --force` or `git push -f`. Prevents accidental history rewrite on shared branches.
npx mdskills install disler/block-force-push-hookRelated
PreToolUseBash@disler? Sign in with GitHub to claim this listing.1# Block Force Push23## Description4PreToolUse hook that blocks any Bash tool call matching `git push --force` or `git push -f`. Prevents accidental history rewrite on shared branches.56## When to Use This Skill78Use this skill when the user needs help with tasks related to this domain.910## Instructions1112Add your instructions here.
Full transparency — inspect the skill content before installing.