git-trail
Provides a readable stream alternative to git-log
, so you can access your git
history through Node.
Installation
npm install git-trail
Usage
trail(directory, [options])
.
var trail =project = __dirname + '/../synthesis'
Options include:
since
: The starting date to stream logs fromuntil
: The last date to stream logs fromformat
: Specifiy the format of each commit object.
You can use any git-log
placeholder when using options.format
.
For example:
All options are, well, optional. Enjoy!