git-sizer
Compute and report repository size metrics
TLDR
Analyze repository size
$ git-sizer
Verbose output showing all statistics$ git-sizer -v
JSON output for machine processing$ git-sizer --json
Show only critical statistics$ git-sizer --threshold=[30]
SYNOPSIS
git-sizer [options]
DESCRIPTION
git-sizer computes various size metrics for a Git repository, identifying potential performance problems such as oversized files, deep histories, or wide directory trees.
The tool reports metrics with concern levels shown as asterisks (*), helping maintainers understand whether their repository structure may cause issues with cloning, fetching, or general Git operations. It must be run from within a Git repository.
PARAMETERS
-v, --verbose
Report all statistics, equivalent to --threshold=0--json
JSON output format--json-version n
JSON format version (1 or 2)--threshold n
Minimum concern level to report (0=all, 1=default, 30=critical only)--no-progress
Suppress progress output
SEE ALSO
git-filter-repo(1), git-gc(1)

