Skip to content
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

Preserve existing git hooks path (core.hooksPath) #86

Open
kcmr opened this issue May 10, 2023 · 1 comment
Open

Preserve existing git hooks path (core.hooksPath) #86

kcmr opened this issue May 10, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kcmr
Copy link

kcmr commented May 10, 2023

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

@toplenboren
Copy link
Owner

This feature would help to migrate from husky =) please feel free to send PR to this repo 🚀

@toplenboren toplenboren added enhancement New feature or request good first issue Good for newcomers labels Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants