Fetch from and merge with another branch
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
test
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

gitpull - fetch from and merge with another branch

Build Status

Description

Incorporate changes from a remote repository into the current branch.

Usage

Stream

var gitpull = require('gitpull')

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

Callback

var gitpull = require('gitpull')

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

Installation

install via npm:

npm install gitpull

License

MIT License