apiki-branch-pattern
v1.0.2
Published
normalize branchs in projects
Downloads
10
Readme
Branch Pattern
Dependencies
- Node.js (>= v6.10.3)
Installation
npm install apiki-branch-pattern --save-dev
OR yarn add apiki-branch-pattern --dev
Usage in package.json
"prepush": "git branch | grep \\* | cut -d ' ' -f2 | xargs apiki-branch-pattern -p='^care_([0-9]+)_(.+)$'"
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D