gitpull

git pull on directory

gitpull - fetch from and merge with another branch

Incorporate changes from a remote repository into the current branch.

var gitpull = require('gitpull')

gitpull('.')
  .on('error', function (err) {
    console.error(err.message)
  })
  .on('end', function () {
    console.log('OK')
  })
var gitpull = require('gitpull')

gitpull('.', function (err) {
  err ? console.error(err.message) : console.log('OK')  
})

install via npm:

npm install gitpull

MIT License