or you can install directly:
bash <(curl -s https://git-quick-stats.sh/install)
git quick-stats [optional-command-to-execute-directly]
-r, --suggest-reviewersshow the best people to contact to review code
-T, --detailed-git-stats- give a detailed list of git stats
-R, --git-stats-by-branchsee detailed list of git stats by branch
-d, --commits-per-daydisplays a list of commits per day
-m, --commits-by-monthdisplays a list of commits per month
-w, --commits-by-weekdaydisplays a list of commits per weekday
-o, --commits-by-hourdisplays a list of commits per hour
-A, --commits-by-author-by-hourdisplays a list of commits per hour by author
-a, --commits-per-authordisplays a list of commits per author
-S, --my-daily-statssee your current daily stats
-C, --contributorssee a list of everyone who contributed to the repo
-b, --branch-treeshow an ASCII graph of the git repo branch history
-D, --branches-by-dateshow branches by date
-c, --changelogssee changelogs
-L, --changelogs-by-authorsee changelogs by author
-j, --json-outputsave git log as a JSON formatted file to a specified area
-h, -?, --helpdisplay this help text in the terminal
You can set the variables _GIT_SINCE and/or _GIT_UNTIL before running git-quick-stats to
limit the git log.
These work similar to git's built-in --since and --until log options.
Once set, run git quick-stats as normal. Note that this affects all stats that parse the git log history until unset.
You can set variable _GIT_LIMIT for limited output. It will affect the "changelogs" and "branch tree" options.
You can exclude a directory from the stats by using pathspec
You can also exclude files from the stats. Note that it works with any alphanumeric, glob, or regex that git respects.
You can set the variable _GIT_MERGE_VIEW to enable merge commits to be part of the stats by setting _GIT_MERGE_VIEW to enable. You can also choose to only show merge commits by setting _GIT_MERGE_VIEW to exclusive. Default is to not show merge commits. These work similar to git's built-in --merges and --no-merges log options.
You can change to the legacy color scheme by toggling the variable _MENU_THEME between default and legacy
Many people love this service and have asked to donate. If you want to kick in to help me cover those costs, that would be awesome!
The price for the .sh domain is close to € 60 per year, so support me with a monthly donation and help me continue my activities.Donate 10€ / month
The easiest way to support us financially is by buying or
subscribing to one of our tiers.
If you'd like to make a donation to keep us going, support us via Github Sponsors.