---
name: "git-quick-stats"
section: "1"
platform: "linux"
package: "git-quick-stats"
version: "2.5.8-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/git-quick-stats"
---

# git-quick-stats(1)

Simple and efficient way to access various stats in a git repository.

## NAME

**git-quick-stats** - Simple and efficient way to access various stats in a git repository.

## SYNOPSIS

For non-interactive mode: **git-quick-stats \[OPTIONS\]**

For interactive mode: **git-quick-stats**

## DESCRIPTION

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.

## GENERATE OPTIONS

**-T**, **--detailed-git-stats**

-

  give a detailed list of git stats

**-R**, **--git-stats-by-branch**

-

  see detailed list of git stats by branch

**-c**, **--changelogs**

-

  see changelogs

**-L**, **--changelogs-by-author**

-

  see changelogs by author

**-S**, **--my-daily-stats**

-

  see your current daily stats

**-V**, **--csv-output-by-branch**

-

  output daily stats by branch in CSV format

**-j**, **--json-output**

-

  save git log as a JSON formatted file to a specified area

## LIST OPTIONS

**-b**, **--branch-tree**

-

  show an ASCII graph of the git repo branch history

**-D**, **--branches-by-date**

-

  show branches by date

**-C**, **--contributors**

-

  see a list of everyone who contributed to the repo

**-n**, **--new-contributors**

-

  list everyone who made their first contribution since a specified date

**-a**, **--commits-per-author**

-

  displays a list of commits per author

**-d**, **--commits-per-day**

-

  displays a list of commits per day

**-m**, **--commits-by-month**

-

  displays a list of commits per month

**-Y**, **--commits-by-year**

-

  displays a list of commits per year

**-w**, **--commits-by-weekday**

-

  displays a list of commits per weekday

**-W**, **--commits-by-author-by-weekday**

-

  displays a list of commits per weekday by author

**-o**, **--commits-by-hour**

-

  displays a list of commits per hour

**-A**, **--commits-by-author-by-hour**

-

  displays a list of commits per hour by author

**-z**, **--commits-by-timezone**

-

  displays a list of commits per timezone

**-Z**, **--commits-by-author-by-timezone**

-

  displays a list of commits per timezone by author

## SUGGEST OPTIONS

**-r**, **--suggest-reviewers**

-

  show the best people to contact to review code

**-h**, -?, **--help**

-

  display this help text in the terminal

## ADDITIONAL USAGE

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"**
