git-needs-pull

v2.1.0
Check synchronously if a git repository needs to pull
is git repository repo is-git needs pull

git-needs-pull

Build Status Build status Coverage Status

Check synchronously if a git repository needs to pull.

Installation

$ npm i git-needs-pull

or

$ yarn add git-needs-pull

Usage

const needsPull = require('git-needs-pull');

needsPull(); // true or false of process.cwd()
needsPull('any/git/repo'); // true or false

LICENSE

MIT © Jan Peer Stöcklmair

npm i git-needs-pull

Metadata

  • MIT
  • Whatever
  • Jan Peer Stöcklmair
  • released 8/5/2020

Downloads

Maintainers