is-git-branch
v1.0.0
Published
A node CLI tool to check the current git branch.
Downloads
5
Readme
is-git-branch
A node CLI tool to check the current git branch.
I use it in an npm script, before deploying with git ftp.
Install
npm install is-git-branch
Use
is-git-branch master && npm run deloy:production
is-git-branch preprod,master && npm run deloy:preproduction