The DailyToken

Stop Claude Code from skipping git hooks with --no-verify

This story is from 2026-11-30. It is preserved in the archive; the latest stories are on the live feed.

A PreToolUse hook can already block git push --force and git reset --hard . That still leaves a hole: git commit --no-verify (or -n ) skips the hook that would have caught a secret, a red test, or a broken lint. A small PreToolUse hook can refuse that flag so the repo hooks still run. The hook shou…

Read the full story at DEV Community — AI ↗

Timeline · 2 reports

  1. 2026-11-30 05:46 · DEV Community — AI
    Stop Claude Code from running rm -rf while you sleep: a 40-line PreToolUse hook
  2. 2026-11-30 01:02 · DEV Community — AI
    Stop Claude Code from skipping git hooks with --no-verify

More stories

  1. Anthropic reports AI-found theoretical attack on post-quantum encryption math — Techmeme
  2. Anthropic's Claude available on-premises for the first time via AWS AI Factories — TechCrunch AI
  3. Anthropic expands Claude certification lineup with architect and developer exams — DEV Community — AI
  4. Anthropic Expands AWS Partnership With New AI Tools — Bloomberg AI
  5. Anthropic delays next model training by six weeks, citing safety standards — Bloomberg AI
  6. Anthropic says Claude AI found and helped patch 18-year-old server firmware vulnerability — Bloomberg AI
  7. Claude Code users probe usage limits, cache costs, and multi-agent workflows — DEV Community — AI
  8. OpenAI told researchers to halt AI work on math that could break cryptography — Techmeme

Read the Daily Brief: the day's most important AI stories →