Git fork
at reftables-rust 56 lines 1.4 kB view raw
1git-count-objects(1) 2==================== 3 4NAME 5---- 6git-count-objects - Count unpacked number of objects and their disk consumption 7 8SYNOPSIS 9-------- 10[verse] 11'git count-objects' [-v] [-H | --human-readable] 12 13DESCRIPTION 14----------- 15Counts the number of unpacked object files and disk space consumed by 16them, to help you decide when it is a good time to repack. 17 18 19OPTIONS 20------- 21-v:: 22--verbose:: 23 Provide more detailed reports: 24+ 25count: the number of loose objects 26+ 27size: disk space consumed by loose objects, in KiB (unless -H is specified) 28+ 29in-pack: the number of in-pack objects 30+ 31packs: the number of pack files 32+ 33size-pack: disk space consumed by the packs, in KiB (unless -H is specified) 34+ 35prune-packable: the number of loose objects that are also present in 36the packs. These objects could be pruned using `git prune-packed`. 37+ 38garbage: the number of files in the object database that are neither valid loose 39objects nor valid packs 40+ 41size-garbage: disk space consumed by garbage files, in KiB (unless -H is 42specified) 43+ 44alternate: absolute path of alternate object databases; may appear 45multiple times, one line per path. Note that if the path contains 46non-printable characters, it may be surrounded by double-quotes and 47contain C-style backslashed escape sequences. 48 49-H:: 50--human-readable:: 51 52Print sizes in human readable format 53 54GIT 55--- 56Part of the linkgit:git[1] suite