git-needs-push
Check synchronously if a git repository needs to push. If a branch is just local it will be true
(as a push is required)
Installation
$ npm i git-needs-push --save
or
$ yarn add git-needs-push
Usage
const needsPush = ; ; // true or false of process.cwd(); // true or false
LICENSE
MIT © Jan Peer Stöcklmair