Sharing Hooks with Husky
Learn how to share Git hooks across a team using Husky so everyone runs the same checks automatically.
The Problem with Native Hooks
Native Git hooks live in .git/hooks, which is not committed to the repository. That means teammates do not get your hooks automatically.
What is Husky?
Husky is a popular tool that stores hooks inside the repo and installs them for everyone, so the whole team runs the same checks.
All lessons in this course
- Understanding Git Hooks
- Pre-commit & Post-merge Hooks
- Customizing Git Configuration
- Sharing Hooks with Husky