0.1.6 • Published 6 years ago
tdog-husky-hg v0.1.6
tdog-husky-hg
Git / Mercurial hooks made easy.
tdog-husky-hgis a fork ofhusky-hg. The only difference is, that it is a custom validator.
Husky can prevent bad commit.
Install
npm install tdog-husky-hg --save-devyarn add tdog-husky-hg --devgit commit -m "Keep calm and commit"Existing hooks aren't replaced and you can use any git/Mercurial hook.
If you're migrating from ghooks, simply run npm uninstall ghooks --save-dev && npm install husky --save-dev and edit package.json. Husky will automatically migrate ghooks hooks.
Uninstall
npm uninstall tdog-husky-hgyarn remove tdog-husky-hgTricks
Git GUI clients support
If you've installed Node using the standard installer, nvm or homebrew, Git hooks will be executed in GUI applications.
Working with multiple version of Node
If nvm is installed, husky will try to use the default/current installed Node version or use the project .nvmrc.
Tip to use the system-installed version of node, nvm provides a system alias
Git submodule and subtree support
Yes
Mercurial subrepo support
No
Cygwin support
Yes
Yarn support
Please use yarn v0.24+
License
MIT