How to remove remote git hooks?

Assuming you have no non-husky hooks, you might want to keep:

rm -f .git/hooks/*

every file inside “.git/hooks/” is either a git-hook or ignored by git. By removing everything inside, you’ll get rid of all hooks, and restore the default behavior.

By default there are example-hooks in there, but except for being examples they serve no purpose, so you can delete them.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)