#git #stats #script #author #commit #shortlog #thorough

app git-stats

A script for grabbing more thorough shortlog stats

10 releases

0.1.9 Jan 18, 2024
0.1.8 Jun 26, 2023
0.1.7 Apr 5, 2023
0.1.6 Jan 5, 2023
0.1.4 Oct 29, 2022

#829 in Command line utilities

Download history 12/week @ 2024-01-16 2/week @ 2024-02-20 6/week @ 2024-02-27 20/week @ 2024-03-26 69/week @ 2024-04-02

89 downloads per month

BlueOak-1.0.0

13KB
162 lines

📊
git stats

A small script to get more thorough shortlog stats.


Git Stats parses shortlog information to get stats about the files changed, additions, and deletions. For example:

$ git stats -r origin..HEAD
 Author      Commits  Changed Files  Insertions  Deletions  Net Δ
 Luke Hsiao       30             50       +1324       -166  +1158

 Reviewer/Tester  Commits
 Luke Hsiao             1

Install

This is a glorified shell script. As such, it expects that you have git installed on your machine and in your $PATH.

From crates.io

cargo install git-stats --locked

Usage

A script for grabbing more thorough shortlog stats

Usage: git-stats [OPTIONS] [revision-range]

Arguments:
  [revision-range]  Show only commits in the specified revision range [default: HEAD]

Options:
  -e, --email    Show the email address of each author
  -r, --reviews  Show who reviewed/tested commits based on `Acked-by`, `Tested-by`, and `Reviewed-by` git trailers
  -h, --help     Print help (see more with '--help')
  -V, --version  Print version

Dependencies

~5–18MB
~207K SLoC