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.npx mdskills install disler/block-force-push-hookDownload the skill as a file, then: Settings → Capabilities → Skills → Upload.
Use the Download button at the top of this page to get SKILL.md, or install via the CLI on supported agents.