1.0.0 • Published 6 years ago
is-git-branch v1.0.0
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
1.0.0
6 years ago