]>
Commit | Line | Data |
---|---|---|
215a7ad1 JH |
1 | git-count-objects(1) |
2 | ==================== | |
7fc9d69f JH |
3 | |
4 | NAME | |
5 | ---- | |
c3f0baac | 6 | git-count-objects - Count unpacked number of objects and their disk consumption |
7fc9d69f JH |
7 | |
8 | SYNOPSIS | |
9 | -------- | |
7791a1d9 | 10 | [verse] |
b1889c36 | 11 | 'git count-objects' [-v] |
7fc9d69f JH |
12 | |
13 | DESCRIPTION | |
14 | ----------- | |
52a22d1e LAS |
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. | |
7fc9d69f | 17 | |
468eb79e JH |
18 | |
19 | OPTIONS | |
20 | ------- | |
21 | -v:: | |
459cf2e9 | 22 | --verbose:: |
0bdaa121 NTND |
23 | Report in more detail: |
24 | + | |
25 | count: the number of loose objects | |
26 | + | |
27 | size: disk space consumed by loose objects, in KiB | |
28 | + | |
29 | in-pack: the number of in-pack objects | |
30 | + | |
31 | size-pack: disk space consumed by the packs, in KiB | |
32 | + | |
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`. | |
35 | + | |
543c5caa NTND |
36 | garbage: the number of files in object database that are not valid |
37 | loose objects nor valid packs | |
468eb79e | 38 | |
7fc9d69f JH |
39 | GIT |
40 | --- | |
9e1f0a85 | 41 | Part of the linkgit:git[1] suite |