npm / simple-git-hooks
simple-git-hooks
What changed in simple-git-hooks 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 behavior and defaults4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initsimple-git-hooks 25 changes
Behavior and default changes 1
Succeeds silently if nothing has changed.
Fixes and other changes 4
Installs and removes hooks correctly inside a Git worktree.
Resolves the project root via INIT_CWD in postinstall.
Supports node_modules created with bun install --linker=isolated.
Skips postinstall when the project has no package.json.