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 not valid
35 loose objects nor valid packs
36
37 size-garbage: disk space consumed by garbage files, in KiB (unless
38 -H is specified)
39
40 -H, --human-readable
41 Print sizes in human readable format
42
44 Part of the git(1) suite
45
46
47
48Git 1.8.3.1 11/19/2018 GIT-COUNT-OBJECTS(1)