-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with git worktree #180
Comments
Thanks for reporting this and including details! |
Fix for this has been released in 0.7.5. Enjoy! |
I still encounter an issue with 0.7.5 in a worktree. Same error message:
Maybe a lead to follow:
It seems to use the lefthook version from the original git directory instead of the local one. |
Hello!
Version 7.4.0
I work with
git worktree
to be able to work simultaneously on different branches of a project.When I run
npx --no-install lefthook install
from a worktree, I have this error :In a git worktree,
.git
is not a directory but a file containing :The text was updated successfully, but these errors were encountered: