For when you have to use git in nodejs.
Перейти к файлу
joshaber a179795fda 0.0.10 2016-04-21 17:20:44 -04:00
lib Expose createBranch 2016-04-21 16:08:40 -04:00
spec Spec for enqueue. 2016-04-21 16:53:01 -04:00
.babelrc Use the runtime transform instead of the polyfill. 2016-04-20 22:49:50 -04:00
.gitignore Add nodegit 2016-04-18 16:04:23 -04:00
.npmignore Specifically unignore the type declarations. 2016-04-20 15:14:15 -04:00
.travis.yml Probably don't need these. 2016-04-21 11:08:21 -04:00
README.md Don't need to manually install typings anymore. 2016-04-21 17:10:07 -04:00
package.json 0.0.10 2016-04-21 17:20:44 -04:00
tsconfig.json Revert "Test with ava." 2016-04-19 16:20:51 -04:00
tslint.json Get shit popping 2016-04-19 14:56:58 -04:00
typings.json Switch to using jasmine. 2016-04-19 17:26:47 -04:00

README.md

OhNoGit

For when you have to use git in nodejs.

A wrapper around nodegit.

Install

To use:

npm install ohnogit --save
import {Repository} from 'ohnogit'

const repo = Repository.open('path/to/repository')
await repo.refreshStatus()

For development:

git clone https://github.com/github/ohnogit
npm install