summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorKimmo Brunfeldt <kimmobrunfeldt@gmail.com>2018-10-22 15:19:12 +0300
committerGitHub <noreply@github.com>2018-10-22 15:19:12 +0300
commit4ebb490ab059004aa9bcd19910304fe23ccffd30 (patch)
treef88b93f78c8e69d0737fefabae4e45601f55f44d /README.md
parentfb76ed35e9893f713f5ab6001e0334f947c5f1ab (diff)
parentb89b1f0741926418ad517fc28ad09057d3ec6267 (diff)
downloadgit-hours-origin/HEAD.zip
git-hours-origin/HEAD.tar.gz
git-hours-origin/HEAD.tar.bz2
Merge pull request #36 from huksley/masterHEADorigin/masterorigin/HEADmaster
Added options: different git path, exclude merge requests, email aliases
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 64412dc..63296fd 100644
--- a/README.md
+++ b/README.md
@@ -91,7 +91,7 @@ In root of a git repository run:
Help
- Usage: githours [options]
+ Usage: git hours [options]
Options:
@@ -100,6 +100,11 @@ 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: .
+ -b, --branch [branch-name] Analyze only data on the specified branch. Default: all branches
Examples:
@@ -122,6 +127,10 @@ Help
- Estimate hours work in repository since 2015-01-31
$ git hours --since 2015-01-31
+
+ - Estimate hours work in repository on the "master" branch
+
+ $ git hours --branch master
For more details, visit https://github.com/kimmobrunfeldt/git-hours