LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-sizer

Compute and report repository size metrics

TLDR

Analyze repository size
$ git-sizer
copy
Verbose output showing all statistics
$ git-sizer -v
copy
JSON output for machine processing
$ git-sizer --json
copy
Show only critical statistics
$ git-sizer --critical
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 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)
--critical
Only report critical statistics (equivalent to --threshold=30)
--names mode
Display names of large objects (none, hash, or full)
--no-progress
Suppress progress output
--show-refs
List the references being processed
--version
Display version information

INSTALL

sudo apt install git-sizer
copy
sudo pacman -S git-sizer
copy
sudo apk add git-sizer
copy
brew install git-sizer
copy
nix profile install nixpkgs#git-sizer
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid