A simple, stripped-down git library for nodejs.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
readme.md
simplegit.js

readme.md

simplegit

A simple, stripped down git library for nodejs.

Current methods

  1. add — accepts an array of files to add. Defaults to '.'
  2. commit — accepts a message (@string). Defaults to "Commit from nodeapp"
  3. pull — accepts an object with action, remote, and branch keys. remote defaults to origin. Branch defaults to projects current active branch.
  4. push — accepts an object with action, remote, and branch keys. remote defaults to origin. branch defulats to projects current active branch.