git-thru

1.1.0 • Public • Published

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()  
})

/git-thru/

    Package Sidebar

    Install

    npm i git-thru

    Weekly Downloads

    3

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • hellocreep