gut stats¶
Display contributor statistics for the current repository - commit counts, percentage share, and approximate lines added/deleted per author.
Usage¶
Example Output¶
=== Contributor Statistics ===
Total commits: 142
Commits per author:
alice
============........ 88 commits (62%)
bob
========............ 54 commits (38%)
Lines per author (approximate):
alice +4821 / -1204
bob +2341 / -870
What It Shows¶
| Section | Source |
|---|---|
| Total commits | git rev-list --count HEAD |
| Commits per author | git shortlog -sn --no-merges |
| Bar chart | Visual percentage (each block = ~5%) |
| Lines per author | git log --numstat (excludes merge commits) |
Note
Lines changed is an approximation based on numstat output. Binary files and auto-generated code will skew the numbers.
See Also¶
gut blame- see who wrote specific lines in a filegut age- see branch ages and ahead/behind statusgut history- see the commit log