Merge branch 'yd/doc-merge-annotated-tag'
[git.git] / Documentation / git-count-objects.txt
blobda6e72e696d4af013b3c717d31a0e98cd41922d4
1 git-count-objects(1)
2 ====================
4 NAME
5 ----
6 git-count-objects - Count unpacked number of objects and their disk consumption
8 SYNOPSIS
9 --------
10 [verse]
11 'git count-objects' [-v]
13 DESCRIPTION
14 -----------
15 This counts the number of unpacked object files and disk space consumed by
16 them, to help you decide when it is a good time to repack.
19 OPTIONS
20 -------
21 -v::
22 --verbose::
23         Report in more detail:
25 count: the number of loose objects
27 size: disk space consumed by loose objects, in KiB
29 in-pack: the number of in-pack objects
31 size-pack: disk space consumed by the packs, in KiB
33 prune-packable: the number of loose objects that are also present in
34 the packs. These objects could be pruned using `git prune-packed`.
36 garbage: the number of files in object database that are not valid
37 loose objects nor valid packs
39 size-garbage: disk space consumed by garbage files, in KiB
41 GIT
42 ---
43 Part of the linkgit:git[1] suite