Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 791 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 791 Bytes

Git-time

Estimate time spent on a git repository.

Install

npm install -g git-time

Usage

git-time <path>

Help

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

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