7 releases
0.1.6 | Jan 5, 2023 |
---|---|
0.1.5 | Nov 23, 2022 |
0.1.4 | Oct 29, 2022 |
#2198 in Command line utilities
33 downloads per month
14KB
154 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 origin..HEAD
Author Commits Changed Files Insertions Deletions Net
Luke Hsiao 23 40 +1238 -157 +1081
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
$ git stats -h
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
-h, --help Print help information (use `--help` for more detail)
-V, --version Print version information
Dependencies
~4–9MB
~164K SLoC