is-git-branch

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i is-git-branch

Weekly Downloads

14

Version

1.0.0

License

ISC

Unpacked Size

13.8 kB

Total Files

12

Last publish

Collaborators

  • zemax