git-hour
Briefly shows how much hours each contributor spent on a git repository
Usage Without Installation
npx git-hour [options] [directory]
Installation (Optional)
# install with npm
npm i -g git-hour
# or install with pnpm
pnpm i -g git-hour
# ready to use
git-hour [options] [directory]
Usage Options
# run under current git directory
git-hour
# run on specify directory
git-hour ~/workspace/github.com/beenotung/tslib
# show formatted table (Name | Email | Duration)
git-hour --format
git-hour -f ~/workspace/github.com/beenotung/tslib
# show help
git-hour --help
git-hour -h
Todo
- Allow cli to customize duration of
maximum interval between commits in a sessionandminimum duration before initial commit in the session - Use average interval in each session to adjust initial commit
- Adjust average interval by number of lines changed in the commit