Thru git commits
Use key up
and down
to quick thru git commits easily.
$ npm install --global git-thru
$ git-thru
const gitThru = require('git-thru')
gitThru().then(git => {
// get current git logs
git.getLogs()
// get current git position
git.getPosition()
// checkout to next commit
git.nextCommit()
// checkout back to prev commit
git.prevCommit()
})