commands.sh

git count-objects

all

Count the number of unpacked objects and their disk consumption.

More info →

Options (2)

-H, --human-readableboolean

Display a count of all objects and their total disk usage, displaying sizes in human-readable units

Example: git count-objects {{[-H|--human-readable]}}
-v, --verboseboolean

Display more verbose information

Example: git count-objects {{[-v|--verbose]}}

Examples (4)

Count all objects and display the total disk usage

Display a count of all objects and their total disk usage, displaying sizes in human-readable units

git count-objects [-H|--human-readable]

Display more verbose information

git count-objects [-v|--verbose]

Display more verbose information, displaying sizes in human-readable units

git count-objects [-H|--human-readable] [-v|--verbose]
made by @shridhargupta | data from tldr-pages