Git said the commit succeeded. My hooks never ran.
This story is from 2026-10-16. It is preserved in the archive; the latest stories are on the live feed.
I use Husky in several repos so commits hit lint, typecheck, and format checks before they land. I added a git worktree to work on a side branch. The worktree inherited core.hooksPath from the main checkout. It did not inherit the executable shims Husky generates under .husky/_ . I committed. Git a…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-16 05:43 · DEV Community — AI
Git said the commit succeeded. My hooks never ran.