Estimate time spent on a git repository.
npm install -g git-time
git-time <path>
Usage: git-time <path>
Where <path> is the path of your Git repository.
Options:
-h, --help output usage information
-v, --version get the current version
--max maximum time diff in minutes between two consecultive commits. Default: 90
--min minimum time in minutes for the start commit. Default: 25
--author filter out authors. Value(s) are passed to the git log command.
Output is grouped by author
John Doe <[email protected]>
102 commits found
Total time spent: 103.84 hours
Jane Doe <[email protected]>
321 commits found
Total time spent: 183.11 hours