For when you have to use git in nodejs.
Перейти к файлу
joshaber c178ceb5de 0.0.14 2016-06-07 11:35:59 -04:00
lib Use refreshIndex 2016-05-04 12:10:41 -04:00
spec Test getOriginURL too. 2016-04-26 09:39:19 -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.14 2016-06-07 11:35:59 -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