Skip to main content

Runs through git history and shows most active users.

Project description

git-runstats

Display git contribution statistics (insertions + deletions)

demo

Usage

Usage: git-runstats [OPTIONS] [GITARGS]...

  Most arguments of `git log` will work as GITARGS, but do not change the
  output-format. Use -- to separate GITARGS.

Options:
  -l, --limit INTEGER  Number of commits to read
  --tty / --no-tty     Enable tty

Live-stats

git runstats

Stats for README.md

git runstats README.md

Display help

git-runstats --help

Non-live stats with limit

git runstats -l 1000 | less

Non-live stats reversed

git runstats -l 1000 | head -n -1 | sort -n

Show stats in branch

git runstats master..my_branch

Show stats in current branch

git runstats master..

Show stats from 2019

git runstats -- --since=2019-01-01 --until=2019-12-31

Who knows most about the rust Alpine Linux package

cd aports
git runstats community/rust

Install

pip install git-runstats

Why

In comparison to shortlog runstats gives immediate feedback and counts changes instead of commits. Press Ctrl-C once you have enough information. Shortlog can also be very wrong:

$> cd linux
$> git shortlog -s -n net/802/ | head -n 10
    11  Stephen Hemminger
    10  Arnaldo Carvalho de Melo
     9  Eric Dumazet
     6  Eric W. Biederman
     5  Alexey Dobriyan
     5  David S. Miller
     4  Paul Gortmaker
     4  David Ward
     3  Linus Torvalds
     3  Adrian Bunk

versus

$> cd linux
$> git runstats net/802/ | head -n 10
      1556  Linus Torvalds
       931  David Ward
       749  Patrick McHardy
       104  Stephen Hemminger
        98  Eric Dumazet
        65  Pavel Emelyanov
        51  Thomas Gleixner
        47  Johannes Berg
        40  Alexey Dobriyan
        30  Joe Perches

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-runstats-0.16.0.tar.gz (5.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page