git-thru
Version:
Thru git commits
40 lines (26 loc) • 567 B
Markdown
Thru git commits
Use key `up` and `down` to quick thru git commits easily.

```console
$ npm install --global git-thru
```
```console
$ git-thru
```
```js
const gitThru = require('git-thru')
gitThru().then(git => {
// get current git logs
git.getLogs()
// get current commit cursor
git.getCursor()
// checkout to next commit
git.nextCommit()
// checkout back to prev commit
git.prevCommit()
})
```