simple-git-hooks
simple-git-hooks copied to clipboard
Preserve existing git hooks path (core.hooksPath)
Hi 👋,
This is a feature request more than an issue.
My suggestion is to preserve the existing hooks path if it is defined in git config core.hooksPath
, so this way it's not necessary to take into account this step when you're migrating from Husky, for instance. This is also an issue when you're switching branches with different git hooks setup and requires executing a script in preinstall
or prepare
like explained here to make it transparent for users.
What do you think?
Thanks
This feature would help to migrate from husky =) please feel free to send PR to this repo 🚀