Skip to content
/ husky Public
forked from typicode/husky

Prevents bad commit or push (git hooks, pre-commit, pre-push and all that stuff...)

License

Notifications You must be signed in to change notification settings

forio/husky

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

husky NPM version Build Status

husky prevents bad commit or push using Git hooks.

🐶 woof!

$ npm install husky --save-dev
// package.json
{
  "scripts": {
    "precommit": "npm test",
    "prepush": "npm test"
  }
}
git commit -m "Keep calm and commit"

Both npm scripts are optional, existing hooks aren't replaced and adding --no-verify to your git commands lets you bypass hooks.

To uninstall husky, simply run npm rm husky --save-dev.

Other supported hook: post-merge

About

Prevents bad commit or push (git hooks, pre-commit, pre-push and all that stuff...)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%