2005-09-08 04:26:23 +04:00
|
|
|
git-count-objects(1)
|
|
|
|
====================
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2007-01-19 02:53:37 +03:00
|
|
|
git-count-objects - Count unpacked number of objects and their disk consumption
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 06:38:26 +04:00
|
|
|
[verse]
|
2013-04-10 23:03:24 +04:00
|
|
|
'git count-objects' [-v] [-H | --human-readable]
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-08-27 05:18:48 +04:00
|
|
|
This counts the number of unpacked object files and disk space consumed by
|
|
|
|
them, to help you decide when it is a good time to repack.
|
2005-08-23 12:49:47 +04:00
|
|
|
|
2006-05-02 10:05:39 +04:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-v::
|
2008-06-08 05:36:10 +04:00
|
|
|
--verbose::
|
2013-02-08 07:48:25 +04:00
|
|
|
Report in more detail:
|
|
|
|
+
|
|
|
|
count: the number of loose objects
|
|
|
|
+
|
2013-04-10 23:03:24 +04:00
|
|
|
size: disk space consumed by loose objects, in KiB (unless -H is specified)
|
2013-02-08 07:48:25 +04:00
|
|
|
+
|
|
|
|
in-pack: the number of in-pack objects
|
|
|
|
+
|
2013-04-10 23:03:24 +04:00
|
|
|
size-pack: disk space consumed by the packs, in KiB (unless -H is specified)
|
2013-02-08 07:48:25 +04:00
|
|
|
+
|
|
|
|
prune-packable: the number of loose objects that are also present in
|
|
|
|
the packs. These objects could be pruned using `git prune-packed`.
|
|
|
|
+
|
2013-02-15 16:07:10 +04:00
|
|
|
garbage: the number of files in object database that are not valid
|
|
|
|
loose objects nor valid packs
|
2013-02-13 13:13:19 +04:00
|
|
|
+
|
2013-04-10 23:03:24 +04:00
|
|
|
size-garbage: disk space consumed by garbage files, in KiB (unless -H is
|
|
|
|
specified)
|
|
|
|
|
|
|
|
-H::
|
|
|
|
--human-readable::
|
|
|
|
|
|
|
|
Print sizes in human readable format
|
2006-05-02 10:05:39 +04:00
|
|
|
|
2005-08-23 12:49:47 +04:00
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 11:07:32 +04:00
|
|
|
Part of the linkgit:git[1] suite
|