1.0.1 • Published 2 years ago

git-hour v1.0.1

Weekly downloads
1
License
BSD-2-Clause
Repository
github
Last release
2 years ago

git-hour

Briefly shows how much hours each contributor spent on a git repository

npm Package Version

Usage Without Installation

npx git-hour [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 [directory]

Usage Options

# run under current git directory
git-hour

# or run on specify directory
git-hour ~/workspace/github.com/beenotung/tslib

Todo

  • Allow cli to customize duration of maximum interval between commits in a session and minimum 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

Similar works

  • git-time does not distinct each contributor
  • git-hours does not work with npx (fixed in 1.5.0) depends on the tricky nodegit
1.0.1

2 years ago

1.0.0

2 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago