Merge pull request #198 from simopunkc/master

Updated documentation on how to properly use the since and until parameters.
This commit is contained in:
Ionică Bizău (Johnny B.) 2024-08-22 11:45:52 +03:00 committed by GitHub
commit 37a52373f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -114,8 +114,8 @@ Options:
Examples:
$ git-stats # Default behavior (stats in the last year)
$ git-stats -l # Light mode
$ git-stats -s '1 January 2012' # All the commits from 1 January 2012 to now
$ git-stats -s '1 January 2012' -u '31 December 2012' # All the commits from 2012
$ git-stats -s '1 January, 2012' # All the commits from 1 January 2012 to now
$ git-stats -s '1 January, 2012' -u '31 December, 2012' # All the commits from 2012
Your commit history is kept in ~/.git-stats by default. You can create
~/.git-stats-config.js to specify different defaults.

View file

@ -84,8 +84,8 @@ new Tilda(`${__dirname}/../package.json`, {
, examples: [
"git-stats # Default behavior (stats in the last year)"
, "git-stats -l # Light mode"
, "git-stats -s '1 January 2012' # All the commits from 1 January 2012 to now"
, "git-stats -s '1 January 2012' -u '31 December 2012' # All the commits from 2012"
, "git-stats -s '1 January, 2012' # All the commits from 1 January 2012 to now"
, "git-stats -s '1 January, 2012' -u '31 December, 2012' # All the commits from 2012"
]
, notes: "Your commit history is kept in ~/.git-stats by default. You can create ~/.git-stats-config.js to specify different defaults."
}).main(action => {