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 details)

Uploaded Source

File details

Details for the file git-runstats-0.16.0.tar.gz.

File metadata

  • Download URL: git-runstats-0.16.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for git-runstats-0.16.0.tar.gz
Algorithm Hash digest
SHA256 ba3a22cb02da8f558792ce95381ebcc407028b5c6fc3df87280962529af94435
MD5 70f1e47e091db53d35eef9ac963727f7
BLAKE2b-256 50668bd34391c88371d82025e24d8978fe8fa3f4c5e48d43e79ab398b12fb040

See more details on using hashes here.

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