Daniel Avila#159578b6ff4
  • force-push-blocker.json16 lines · 1.4 KB
force-push-blocker.json
JSON
{
"description": "Block git force pushes before they run: --force and its variants (--force-with-l..."
"hooks": {
"PreToolUse": [1 item]
}
}

Next step

More hooks in security, in alphabetical order.