Back to Hooks

Force Push Blocker

Hooks security 48
Install Command
npx claude-code-templates@latest --hook security/force-push-blocker
View on GitHub

Content

JSON
{
"description": "Block git force push commands using the if condition for efficient filtering. Pr..."
"hooks": {
"PreToolUse": [1 item]
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.