Skip to content

hellocreep/git-thru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git position 
  git.getPosition()

  // checkout to next commit
  git.nextCommit()

  // checkout back to prev commit
  git.prevCommit()  
})

Releases

No releases published

Packages

No packages published