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.
- Host: GitHub
- URL: https://github.com/github/ohnogit
- Owner: github
- Archived: true
- Created: 2016-04-20T18:43:35.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-07T15:36:30.000Z (almost 10 years ago)
- Last Synced: 2025-08-27T11:28:59.082Z (7 months ago)
- Language: TypeScript
- Size: 2.29 MB
- Stars: 25
- Watchers: 4
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).

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