TIL: a git worktree runs hooks from the main checkout .git/hooks, not its own files
I edited a pre-push hook in a worktree and nothing changed. Git was running the installed copy from the main repo.
I edited a pre-push hook in a worktree and nothing changed. Git was running the installed copy from the main repo.