1.1.0 • Published 7 years ago
git-thru v1.1.0
git-thru
Thru git commits
Use key up
and down
to quick thru git commits easily.
Install
$ npm install --global git-thru
Cli Usage
$ git-thru
API Usage
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()
})