LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-shortlog

Summarize git log output grouped by author

TLDR

Summarize commits by author
$ git shortlog
copy
Show commit counts
$ git shortlog -sn
copy
Show email addresses
$ git shortlog -sne
copy
Shortlog for range
$ git shortlog [v1.0..v2.0]
copy
Group by committer
$ git shortlog -c
copy

SYNOPSIS

git shortlog [options] [revision-range]

DESCRIPTION

git shortlog summarizes `git log` output by grouping commits under each author. It is commonly used for generating release notes and contributor acknowledgments.The command can show commit counts per author, sort by contribution size, and use the mailmap for identity normalization across different name/email variations.

PARAMETERS

REVISION-RANGE

Commits to summarize.
-s, --summary
Show counts only.
-n, --numbered
Sort by count.
-e, --email
Show email addresses.
-c, --committer
Group by committer.
--group FIELD
Group by field.
--help
Display help information.

CONFIGURATION

.mailmap

Maps author identities to canonical names and emails, used by git shortlog for deduplication.

INSTALL

sudo apt install git
copy
sudo dnf install git
copy
sudo pacman -S git
copy
sudo apk add git
copy
sudo zypper install git
copy
brew install git
copy
nix profile install nixpkgs#git
copy

CAVEATS

Reads from stdin or revision range. Uses mailmap for identity consolidation. Different from git log --oneline.

HISTORY

git shortlog is a core Git command for generating contributor summaries, commonly used for release notes and acknowledgments.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid