Husky

Git hooks made easy 🐶 woof!
Alternatives To Husky
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Git Flight Rules40,735
2 months ago15cc-by-sa-4.0
Flight rules for git
Husky28,95968,25183,89716 days ago206May 09, 202224mitJavaScript
Git hooks made easy 🐶 woof!
Tips20,220
a year ago28mitJavaScript
Most commonly used git tips and tricks.
Cz Cli14,75913,21913,6252 months ago78May 07, 2021173mitJavaScript
The commitizen command line utility. #BlackLivesMatter
Git Tips14,465
4 months ago
:trollface:Git的奇技淫巧
Commitlint13,44010,44120,7932 days ago55August 27, 2022138mitTypeScript
📓 Lint commit messages
Git History13,243
4 days ago7March 19, 201976mitJavaScript
Quickly browse the history of a file from any git repository
Git Recipes13,001
4 years ago9
🥡 Git recipes in Chinese by Zhongyi Tong. 高质量的Git中文教程.
Gitui12,63913 days ago41January 26, 2022130mitRust
Blazing 💥 fast terminal-ui for git written in rust 🦀
Lint Staged11,56947,97944,60717 days ago214June 24, 2022100mitJavaScript
🚫💩 — Run linters on git staged files
Alternatives To Husky
Select To Compare


Alternative Project Comparisons
Readme

husky

Open Collective Node.js CI

Modern native Git hooks made easy

Husky improves your commits and more woof!

Install

npm install husky -D

Usage

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.

Documentation

https://typicode.github.io/husky

Important Upgrading from v4 to v7 requires migrating previous config, please see the docs.

Articles

License

MIT

Sponsors

Companies

Does your company use husky? Ask your manager or marketing team if your company would be interested in supporting this project.

Individuals

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.

Popular Git Projects
Popular Commit Projects
Popular Version Control Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Git
Commit
Git Hooks