Compare commits

...

2 Commits

Author SHA1 Message Date
simopunkc 8ad80eb137
Merge 9910307fd8 into ffc99bbc78 2024-04-02 17:51:58 +00:00
simopunkc 9910307fd8
Without commas ( , ), the "--since" and "--until" parameter options in the command will have no effect.
Updated documentation on how to properly use the since and until parameters.
2024-04-03 00:51:46 +07:00
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 => {