:bar_chart: A tool for getting aggregated commit stats
// readme
📊
git stats
A tool for getting aggregated commit stats.
git-stats parses log 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 67 117 +2616 -1126 +1490
dependabot[bot] 31 62 +203 -267 -64
Total 98 179 +2819 -1393 +1426
Reviewer/Tester Commits
Luke Hsiao 1
Install
Git Stats reads your repository directly with gitoxide,
a pure-Rust implementation of git.
From crates.io
cargo install git-stats --locked
Since you are compiling from source anyway, you can opt into CPU-specific optimizations that the prebuilt binaries cannot use:
RUSTFLAGS="-C target-cpu=native" cargo install git-stats --locked
Or, if you use cargo-binstall:
cargo binstall…