Simple way to access various
statistics in git repository.


Installation Windows Linux macOS Docker

or you can install directly:
bash <(curl -s https://git-quick-stats.sh/install)

git quick stats

Features

Multiplatform

Works on Windows, Linux and macOS (or you can use the Docker image).

Contribution stats

List of everyone who contributed to the repository.

Code reviewers

Find the best people to contact to review code.

Git changelogs

Easy to fetch git changelogs.

Dependency

You can run on every OS with a Bash shell.

Open source

Git-quick-stats is free, open source software licensed under MIT.

More screenshots

git commits by weekday
git commits by hour

Getting started

Documentation

  • Git log since and until

    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.

    export _GIT_SINCE="2017-01-20"
    export _GIT_UNTIL="2017-01-22"

    Once set, run git quick-stats as normal. Note that this affects all stats that parse the git log history until unset.

  • Git log limit

    You can set variable _GIT_LIMIT for limited output. It will affect the "changelogs" and "branch tree" options.

    export _GIT_LIMIT=20

  • Git pathspec

    You can exclude a directory from the stats by using pathspec

    export _GIT_PATHSPEC=':!directory'

    You can also exclude files from the stats. Note that it works with any alphanumeric, glob, or regex that git respects.

    export _GIT_PATHSPEC=':!package-lock.json'

  • Git merge view strategy

    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.

    export _GIT_MERGE_VIEW="enable"
    export _GIT_MERGE_VIEW="exclusive"

  • Color themes

    You can change to the legacy color scheme by toggling the variable _MENU_THEME between default and legacy

    export _MENU_THEME=legacy

Want to show your support?
Donate via Bitcoin or buy me coffee

If you or your company use this project or like what We're doing,
please consider backing us so We can continue maintaining and evolving this project and new ones.

Why donate?

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!


Choose what you'd like to donate from the items below then click the button:

If you'd prefer Crypto


Crypto donation button by NOWPayments

2€ — A large cappuccino 😍 at my local

I'm in this for the long run. Things just work better with coffee! I like to grab a cappuccino from my local before beginning the things that take mental energy.


Bill for .sh domain ⚡️

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

Github sponsor

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.

Thank you for your support! 🙌