LinuxCommandLibrary

git-sizer

Compute and report repository size metrics

TLDR

Analyze repository size

$ git-sizer
copy
Verbose output
$ git-sizer -v
copy
JSON output
$ git-sizer --json
copy
Show thresholds
$ git-sizer --threshold=[1]
copy

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, helping maintainers understand whether their repository structure may cause issues with cloning, fetching, or general Git operations.

PARAMETERS

-v, --verbose

Verbose output.
--json
JSON output format.
--threshold n
Minimum concern level (0-30).
--names
Show example names.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community