git-quick-stats(1) | User Commands | git-quick-stats(1) |
git-quick-stats - Simple and efficient way to access various stats in a git repository.
For non-interactive mode: git-quick-stats [OPTIONS]
For interactive mode: git-quick-stats
Any git repository contains tons of information about commits, contributors, and files. Extracting this information is not always trivial, mostly because of a gadzillion options to a gadzillion git commands. This program allows you to see detailed information about a git repository.
-T, --detailed-git-stats
-R, --git-stats-by-branch
-c, --changelogs
-L, --changelogs-by-author
-S, --my-daily-stats
-V, --csv-output-by-branch
-j, --json-output
-b, --branch-tree
-D, --branches-by-date
-C, --contributors
-a, --commits-per-author
-d, --commits-per-day
-m, --commits-by-month
-Y, --commits-by-year
-w, --commits-by-weekday
-o, --commits-by-hour
-A, --commits-by-author-by-hour
-z, --commits-by-timezone
-Z, --commits-by-author-by-timezone
-r, --suggest-reviewers
-h, -?, --help
You can set _GIT_SINCE and _GIT_UNTIL to limit the git time log, example:
export _GIT_SINCE="2017-01-20"
You can set _GIT_LIMIT for limited output log, example:
export _GIT_LIMIT=20
You can set _GIT_LOG_OPTIONS for git log options, example:
export _GIT_LOG_OPTIONS="--ignore-all-space --ignore-blank-lines"
You can exclude directories or files from the stats by using pathspec, example:
export _GIT_PATHSPEC=':!pattern'
You can set _GIT_MERGE_VIEW to show merge commits with normal commits, example:
export _GIT_MERGE_VIEW="enable"
You can also set _GIT_MERGE_VIEW to only show merge commits, example:
export _GIT_MERGE_VIEW="exclusive"
You can switch to the legacy color scheme, example:
export _MENU_THEME=legacy
You can set _GIT_BRANCH to set the branch of the stats, example:
export _GIT_BRANCH="master"
June 2021 | git-quick-stats |