A CLI tool that analyzes a Git repository's history and prints an in-terminal report with charts. Based on the analysis techniques from Git Commands You Should Run Before Reading Any Code.
- Code Churn Hotspots — most frequently modified files in the past year
- Contributor Activity — all contributors ranked by commit count (bus factor)
- Recent Contributor Activity — active contributors in the last 6 months
- Bug Hotspots — files with the most bug-related commits
- Development Velocity — monthly commit frequency over the repo's lifetime
- Firefighting Frequency — reverts, hotfixes, and emergency commits in the past year
gnuplot must be installed separately:
# macOS
brew install gnuplot
# Debian / Ubuntu
sudo apt install gnuplot
# Fedora
sudo dnf install gnuplotIf gnuplot is not installed, gitalyze will still run and print the tabular report — charts will simply be skipped.
git clone <repo-url> && cd gitalyze
bun install
bun linkAfter bun link, the gitalyze command is available globally.
Run from inside any Git repository:
gitalyze