An open API service indexing awesome lists of open source software.

https://github.com/github/ohnogit

For when you have to use git in nodejs.
https://github.com/github/ohnogit

Last synced: 5 months ago
JSON representation

For when you have to use git in nodejs.

Awesome Lists containing this project

README

          

# OhNoGit

For when you have to use git in nodejs.

A wrapper around [nodegit](https://github.com/nodegit/nodegit).

![](http://www.reactiongifs.com/r/whid1.gif)

## Install

To use:

```
npm install ohnogit --save
```

```js
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
```