Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Git Flight Rules | 40,735 | 2 months ago | 15 | cc-by-sa-4.0 | ||||||
Flight rules for git | ||||||||||
Husky | 28,959 | 68,251 | 83,897 | 16 days ago | 206 | May 09, 2022 | 24 | mit | JavaScript | |
Git hooks made easy 🐶 woof! | ||||||||||
Tips | 20,220 | a year ago | 28 | mit | JavaScript | |||||
Most commonly used git tips and tricks. | ||||||||||
Cz Cli | 14,759 | 13,219 | 13,625 | 2 months ago | 78 | May 07, 2021 | 173 | mit | JavaScript | |
The commitizen command line utility. #BlackLivesMatter | ||||||||||
Git Tips | 14,465 | 4 months ago | ||||||||
:trollface:Git的奇技淫巧 | ||||||||||
Commitlint | 13,440 | 10,441 | 20,793 | 2 days ago | 55 | August 27, 2022 | 138 | mit | TypeScript | |
📓 Lint commit messages | ||||||||||
Git History | 13,243 | 4 days ago | 7 | March 19, 2019 | 76 | mit | JavaScript | |||
Quickly browse the history of a file from any git repository | ||||||||||
Git Recipes | 13,001 | 4 years ago | 9 | |||||||
🥡 Git recipes in Chinese by Zhongyi Tong. 高质量的Git中文教程. | ||||||||||
Gitui | 12,639 | 1 | 3 days ago | 41 | January 26, 2022 | 130 | mit | Rust | ||
Blazing 💥 fast terminal-ui for git written in rust 🦀 | ||||||||||
Lint Staged | 11,569 | 47,979 | 44,607 | 17 days ago | 214 | June 24, 2022 | 100 | mit | JavaScript | |
🚫💩 — Run linters on git staged files |
Modern native Git hooks made easy
Husky improves your commits and more woof!
npm install husky -D
Edit package.json > prepare
script and run it once:
npm pkg set scripts.prepare="husky install"
npm run prepare
Add a hook:
npx husky add .husky/pre-commit "npm test"
git add .husky/pre-commit
Make a commit:
git commit -m "Keep calm and commit"
# `npm test` will run every time you commit
For more use cases (project in sub-directory, custom directory, CI support, ...), see documentation.
https://typicode.github.io/husky
Important Upgrading from v4 to v7 requires migrating previous config, please see the docs.
MIT
Does your company use husky? Ask your manager or marketing team if your company would be interested in supporting this project.
Find husky helpful? Become a backer and show your appreciation with a monthly donation on Open Collective. You can also tip with a one-time donation.
GitHub sponsors can be viewed on my profile. All past and current Open Collective sponsors can be viewed on here.