-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add option to keep some hooks after run npm uninstall simple-git-hooks
#119
Comments
You can config |
It will delete all hooks, please check it in https://github.com/toplenboren/simple-git-hooks/blob/master/simple-git-hooks.js#L214 |
Maybe we should align it with simple-git-hooks/simple-git-hooks.js Lines 174 to 176 in 0433a04
|
Yeah. Maybe it is a bug. We should only remove some hooks that are not in |
Question
I edited a
commit-msg
hook which used to improve my work experience. But when I runnpm uninstall simple-git-hooks
, it will remove all hooks. I have to addcommit-msg
file back.Can we add an option to keep these useful hooks?
If you think so, I am pleased to submit a pr.
The text was updated successfully, but these errors were encountered: