LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-count

Count commits in repository

TLDR

Count total commits
$ git count
copy
Count commits by author
$ git count --all
copy

SYNOPSIS

git count [options]

DESCRIPTION

git count shows the total number of commits in the repository. With the --all flag, it shows commit counts broken down by author.The command provides a quick overview of repository activity and contributor participation. It's simpler than parsing git shortlog output manually.With the --all flag, it produces a ranked list of contributors by commit count, making it useful for project statistics and activity reports.

PARAMETERS

--all

Count commits per author.
--help
Display help information.

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

Part of git-extras package. Counts commits on current branch. Merge commits included.

HISTORY

git count is part of git-extras, providing simple commit counting that complements git shortlog.

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