git-flow-cli
v0.1.0
Published
manage your git flow
Downloads
4
Readme
Git Flow Tools
- provide gitflow cli
- auto write git hooks
Usage
npm install git-flow-cli --save-dev
Default Hooks
pre-commit
- branchs which are not allowed to commit (master|staging|qa|release|develop)
- find your scripts which contains eslint/tslint and run
commit-msg
- check your commit message over Conventional Commits
pre-push
- branchs which are not allowed to push (master|staging|qa|release|develop)
Custom Config
put config in {your_project}/gitflow.js(on) like
{
"${hook_name}": [ "${command}" ]
}
eg:
{
"pre-commit": [ "npm run lint" ]
}