composer-git-hooks
composer-git-hooks copied to clipboard
Impossible to remove pre-commit hook?
Hi there,
I changed a pre-commit hook to run on pre-push, ran cghooks update
, but now the hook always runs on pre-commit..
All traces of pre-commit have been removed (composer.json, cghooks.lock) yet it still runs, even when opening new terminals.
I'm out of options at this point except composer removing the dependency
@webketje you can look into your githooks folder which should be .git/hooks
if you haven't changed it. Then you can remove the hooks by deleting the file
@BrainMaestro thanks, that was it.. However, isn't it a reasonable expectation that this would be handled by cghooks update
automatically? If I'm not mistaken composer update
& npm update
would also do a full update including removal of no longer listed dependencies