LinuxCommandLibrary

git-count

Print the total number of commits.

TLDR

Print the total number of commits

$ git count
copy


Print the number of commits per contributor and the total number of commits
$ git count --all
copy

SYNOPSIS

git-count [--all]

DESCRIPTION

Show commit count.

OPTIONS

--all

Show commit count details.

EXAMPLES

Output commit total:

$ git count

total 1844

Output verbose commit count details:

$ git count --all

  visionmedia (1285)
  Tj Holowaychuk (430)
  Aaron Heckmann (48)
  csausdev (34)
  ciaranj (26)
  Guillermo Rauch (6)
  Brian McKinney (2)
  Nick Poulden (2)
  Benny Wong (2)
  Justin Lilly (1)
  isaacs (1)
  Adam Sanderson (1)
  Viktor Kelemen (1)
  Gregory Ritter (1)
  Greg Ritter (1)
  ewoudj (1)
  James Herdman (1)
  Matt Colyer (1)

  total 1844

REPORTING BUGS

<https://github.com/tj/git-extras/issues>

SEE ALSO

<https://github.com/tj/git-extras>

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca>

Copied to clipboard