Skip to content

Commit

Permalink
Added options: different git path, exclude merge requests, email alia…
Browse files Browse the repository at this point in the history
…ses. Upgraded nodegit to 0.22
  • Loading branch information
Ruslan Gainutdinov committed Sep 12, 2018
1 parent fb76ed3 commit 826d861
Show file tree
Hide file tree
Showing 4 changed files with 3,706 additions and 10 deletions.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -91,7 +91,7 @@ In root of a git repository run:

Help

Usage: githours [options]
Usage: git hours [options]

Options:

Expand All @@ -100,6 +100,10 @@ Help
-d, --max-commit-diff [max-commit-diff] maximum difference in minutes between commits counted to one session. Default: 120
-a, --first-commit-add [first-commit-add] how many minutes first commit of session should add to total. Default: 120
-s, --since [since-certain-date] Analyze data since certain date. [always|yesterday|tonight|lastweek|yyyy-mm-dd] Default: always'
-e, --email [emailOther=emailMain] Group person by email address. Default: none
-u, --until [until-certain-date] Analyze data until certain date. [always|yesterday|today|lastweek|thisweek|yyyy-mm-dd] Default: always
-m, --merge-request [false|true] Include merge requests into calculation. Default: true
-p, --path [git-repo] Git repository to analyze. Default: .

Examples:

Expand Down

0 comments on commit 826d861

Please sign in to comment.