How many days did you work on that project?
CLI tool to get a print out of how many days each committer committed to a project and how many total commits they've made.
Getting started
npm install -g git-dayscd /path/to/projectgit-days
Output:
┌──────────────────────┬──────┬─────────┐│ Author │ Days │ Commits │├──────────────────────┼──────┼─────────┤│ Jane │ 46 │ 443 │├──────────────────────┼──────┼─────────┤│ Bob │ 16 │ 96 │├──────────────────────┼──────┼─────────┤│ Dave │ 70 │ 454 │├──────────────────────┼──────┼─────────┤│ Joe │ 1 │ 1 │├──────────────────────┼──────┼─────────┤│ Laura │ 6 │ 12 │├──────────────────────┼──────┼─────────┤│ Sue │ 13 │ 50 │├──────────────────────┼──────┼─────────┤│ Richard │ 4 │ 23 │├──────────────────────┼──────┼─────────┤│ Christopher │ 1 │ 1 │└──────────────────────┴──────┴─────────┘Total: 157 days
Options
from
Only consider commits after this date. An ISO formatted date passed to moment. e.g.
git-days --from 2015-07-10
to
Only consider commits before this date. An ISO formatted date passed to moment. e.g.
git-days --to 2015-01-01
sort
Sort the table by the specified column. Prefix with "-" to change sort direction to descending. Default is sort by author name, ascending. e.g.
# Sort by commits ascending git-days --sort commits # Sort by days descending git-days --sort=-days
Specify project path(s)
Perhaps your project is split over multiple repos. No problem!
git-days /path/to/project /path/to/related/project/repo
A (╯°□°)╯︵TABLEFLIP side project.