Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 616 Bytes

HOOKS.md

File metadata and controls

20 lines (18 loc) · 616 Bytes

Hooks

Husky supports all git hooks (https://git-scm.com/docs/githooks). Simply add the corresponding npm script to your package.json.

Git hook npm script
applypatch-msg applypatchmsg
commit-msg commitmsg
post-applypatch postapplypatch
post-checkout postcheckout
post-commit postcommit
post-merge postmerge
post-receive postreceive
pre-applypatch preapplypatch
pre-commit precommit
pre-push prepush
pre-rebase prerebase
pre-receive prereceive
prepare-commit-msg preparecommitmsg
update update