Git hook scripts managed along with your repository
It's advised to install this module as devDependency in your package.json file so it doesn't get installed on production servers:
npm install --save-dev managed-git-hooks
Use it just like native git hooks, but instead of .git/hooks
you can use a
versioned /git-hooks
dir.
When installed, this module symlink your hooks to your project's git. Existent hooks will not be overwritten.