Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vilicvane/dotgit

A simple git repository utility.
https://github.com/vilicvane/dotgit

Last synced: 20 days ago
JSON representation

A simple git repository utility.

Awesome Lists containing this project

README

        

# DotGit (.git)

A simple git repository utility.

## Install

```sh
npm install dotgit --save-dev
```

## Usage

```ts
import git from 'dotgit';

console.log(git.branch); // master
console.log(git.head); // c5275e52a7871f6d2fec5b27506d337c6939ffad
console.log(git.short); // c5275e5
```

## License

MIT License.