Skip to content

Doesn't work with git worktrees #58

@niklaas

Description

@niklaas

I get the following errror

ENOENT: no such file or directory, open '/Users/niklaas/git/abc/def/.git/worktrees/<name of worktree>/hooks/pre-commit'

when running npx simple-pre-commit inside a git worktree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions