Get git tail hashes from your repository in reverse chronological order
It sucks when you could do git show HEAD
but not git show TAIL
. git-tails
comes to the rescue!
Did you know that there could be more than one tails in your git repository?
Install
$ npm install --save git-tails
Usage
var gitTails = ; ; gitTails//=> ['0cd33254f2df29272323dca4f052be70d9659174']
$ npm install --global git-tails$ git-tails0cd33254f2df29272323dca4f052be70d9659174
To get the earliest tail you just need to do
;
If you know there is only one tails you could do
$ git show `git-tails`
Just like git show HEAD
.
License
MIT © Steve Mao