Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelnisi/gitpull
Fetch from and merge with another branch
https://github.com/michaelnisi/gitpull
Last synced: about 1 month ago
JSON representation
Fetch from and merge with another branch
- Host: GitHub
- URL: https://github.com/michaelnisi/gitpull
- Owner: michaelnisi
- License: mit
- Created: 2012-08-04T19:35:14.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-01T16:05:28.000Z (almost 12 years ago)
- Last Synced: 2024-10-16T10:31:47.030Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 138 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitpull - fetch from and merge with another branch
[![Build Status](https://secure.travis-ci.org/michaelnisi/gitpull.png)](http://travis-ci.org/michaelnisi/gitpull)
## 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](http://npmjs.org/):
npm install gitpull
## License
[MIT License](https://raw.github.com/michaelnisi/gitpull/master/LICENSE)