node-gitsync

1.0.5 • Public • Published

Node GitSync

Helper library for syncronizing a remote git repository with a local folder, being sure to only pull it down when it does not exist locally.

Installation   npm version

npm install node-gitsync

Simple Usage

var gitsync = require('node-gitsync');
 
gitsync({
  'dest': 'relative-path-to-subfolder',
  'repo': 'https://github.com/blah/repo.git',
  'branch': 'name-of-desired-branch'
}, function(err) {
  console.log("done!");
});

Package Sidebar

Install

npm i node-gitsync

Weekly Downloads

0

Version

1.0.5

License

MIT

Last publish

Collaborators

  • alexei.white
  • sheffnpm