1GIT-COUNT-OBJECTS(1) Git Manual GIT-COUNT-OBJECTS(1)
2
3
4
6 git-count-objects - Count unpacked number of objects and their disk
7 consumption
8
10 git count-objects [-v] [-H | --human-readable]
11
12
14 This counts the number of unpacked object files and disk space consumed
15 by them, to help you decide when it is a good time to repack.
16
18 -v, --verbose
19 Report in more detail:
20
21 count: the number of loose objects
22
23 size: disk space consumed by loose objects, in KiB (unless -H is
24 specified)
25
26 in-pack: the number of in-pack objects
27
28 size-pack: disk space consumed by the packs, in KiB (unless -H is
29 specified)
30
31 prune-packable: the number of loose objects that are also present
32 in the packs. These objects could be pruned using git prune-packed.
33
34 garbage: the number of files in object database that are neither
35 valid loose objects nor valid packs
36
37 size-garbage: disk space consumed by garbage files, in KiB (unless
38 -H is specified)
39
40 alternate: absolute path of alternate object databases; may appear
41 multiple times, one line per path. Note that if the path contains
42 non-printable characters, it may be surrounded by double-quotes and
43 contain C-style backslashed escape sequences.
44
45 -H, --human-readable
46 Print sizes in human readable format
47
49 Part of the git(1) suite
50
51
52
53Git 2.21.0 02/24/2019 GIT-COUNT-OBJECTS(1)