1feba86fb4e8feb4eaa01886f9efb7b3a95905c260c38f894f31f4a40ef0cf06a022451b1f2e751c7a0398958a4a3ba0d7cd66bed19d12d69eb51d582525ff 785 B

12345678910111213141516171819202122232425
  1. # Hooks
  2. Husky supports all git hooks (https://git-scm.com/docs/githooks). Simply add the corresponding `npm script` to your `package.json`.
  3. | Git hook | npm script |
  4. | -------- | ---------- |
  5. | applypatch-msg | applypatchmsg |
  6. | commit-msg | commitmsg |
  7. | post-applypatch | postapplypatch |
  8. | post-checkout | postcheckout |
  9. | post-commit | postcommit |
  10. | post-merge | postmerge |
  11. | post-receive | postreceive |
  12. | post-rewrite | postrewrite |
  13. | post-update | postupdate |
  14. | pre-applypatch | preapplypatch |
  15. | pre-auto-gc | preautogc |
  16. | pre-commit | precommit |
  17. | pre-push | prepush |
  18. | pre-rebase | prerebase |
  19. | pre-receive | prereceive |
  20. | prepare-commit-msg | preparecommitmsg |
  21. | push-to-checkout | pushtocheckout |
  22. | update | update |
  23. | sendemail-validate | sendemailvalidate |