Skip to content
/ husky Public
forked from typicode/husky

Git hooks made easy 🐶 woof! This fork is multiple-language docs. Support English and simplified Chinese.

License

Notifications You must be signed in to change notification settings

CosmoLau/husky

 
 

Repository files navigation

husky

Node.js CI

Modern native Git hooks made easy

Husky improves your commits and more 🐶 woof!

Features

  • Just 2 kB (📦 gzipped) with no dependencies
  • Extremely fast (runs in ~1ms)
  • Uses new Git feature (core.hooksPath)
  • Supports:

And more:

  • Branch-specific hooks
  • Use POSIX shell to script advanced cases
  • Adheres to Git's native hook organization
  • Aligns with npm best practices using prepare script
  • Opt-in/opt-out options
  • User-friendly error messages

Changelog

Check out the v9 changelog to discover all the new and improved features!

Documentation

https://typicode.github.io/husky

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

Sponsors

Support this project by becoming a sponsor here 💖

Special Sponsor


Get rewards for your open-source contributions

GitHub

Open Collective

About

Git hooks made easy 🐶 woof! This fork is multiple-language docs. Support English and simplified Chinese.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.2%
  • Shell 7.0%
  • TypeScript 0.8%