git-insights
A cli tool to generate Git repo stats and insights.
Features
- Overall repository statistics
- Total commit count
- Total file count
- Total lines of code (LOC)
- Per-author breakdown (LOC/commits/files) with % distribution
- Individual user insights
- Get file "ownership" list
- Ownership table flags:
--top N
,--sort loc|pct
and--by-email
(default matches by name) - Total locs, inserts, updates, deletes
- Past PRs/issues count
- Tags/releases count
- Data export
- Export to JSON
- Export to CSV
- Visualizations
- Commit heatmap
- Hotspot analysis
- Timeline charts
- CLI/UX
- Fast, no-deps
- Helpful global and per-command help
- Version command
- Clean progress spinner while processing files
- Group by author name by default, or use --by-email for
"Name <email>"
- Clean git calls (no pager)
Installation
Installing from crates.io
Installing via cargo + git
Building from source
Usage
git-insights
provides several commands to analyze your repository.
To see the available commands and options, run:
License
MIT License. See LICENSE
file for details.