git-activity

0.1.1 • Public • Published

Git Activity

Simple utiltity for getting a list of commits for a specified time.

Why not just git?

$ git log

Sure that is what is used in this module. We just run that command and spit the information out, but we also include a date time module moment to allow for easier time date handling. Also there is the added ability to just inlude the flag --me to grab only your own commmits. One last thing is that you can steam out json which can be done with bash but we abstract the conventions away.

Install

$ npm install git-activity -g

Usage

$ git-activity [ --flags ]

examples

$ git --start=2/11/2014 --end=3/11/2014
$ git --json --me --dir=/home/notarobot/beepboop
$ git --user=terminator | dat import --json --primary=commit

available flags

-d, --dir       The directory to run git from, defaults to cwd
-s, --start     The start time 
-e, --end       The end time
-u, --user      The user to query by
--json          Format the output to json
--me            Grab current users commits 

Wishlist

  • javascript api
  • more access to format
  • better error handling

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.10latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.10
0.1.00
0.0.70
0.0.60
0.0.30

Package Sidebar

Install

npm i git-activity

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • ~jcblw