git-needs-addcommitpush
v1.0.1
Published
[](https://travis-ci.org/JPeer264/node-git-needs-push)
Downloads
8
Readme
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 --saveor
$ yarn add git-needs-pushUsage
const needsPush = require('git-needs-push');
needsPush(); // true or false of process.cwd()
needsPush('any/git/repo'); // true or falseLICENSE
MIT © Jan Peer Stöcklmair
