TIL: git worktrees run hooks from the main checkout
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.