2005-09-08 08:26:23 +08:00
|
|
|
git-count-objects(1)
|
|
|
|
====================
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2007-01-19 07:53:37 +08:00
|
|
|
git-count-objects - Count unpacked number of objects and their disk consumption
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 10:38:26 +08:00
|
|
|
[verse]
|
2013-04-11 03:03:24 +08:00
|
|
|
'git count-objects' [-v] [-H | --human-readable]
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-08-27 09:18:48 +08: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 16:49:47 +08:00
|
|
|
|
2006-05-02 14:05:39 +08:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-v::
|
2008-06-08 09:36:10 +08:00
|
|
|
--verbose::
|
2013-02-08 11:48:25 +08:00
|
|
|
Report in more detail:
|
|
|
|
+
|
|
|
|
count: the number of loose objects
|
|
|
|
+
|
2013-04-11 03:03:24 +08:00
|
|
|
size: disk space consumed by loose objects, in KiB (unless -H is specified)
|
2013-02-08 11:48:25 +08:00
|
|
|
+
|
|
|
|
in-pack: the number of in-pack objects
|
|
|
|
+
|
2013-04-11 03:03:24 +08:00
|
|
|
size-pack: disk space consumed by the packs, in KiB (unless -H is specified)
|
2013-02-08 11:48:25 +08:00
|
|
|
+
|
|
|
|
prune-packable: the number of loose objects that are also present in
|
|
|
|
the packs. These objects could be pruned using `git prune-packed`.
|
|
|
|
+
|
2014-04-01 06:11:44 +08:00
|
|
|
garbage: the number of files in object database that are neither valid loose
|
|
|
|
objects nor valid packs
|
2013-02-13 17:13:19 +08:00
|
|
|
+
|
2013-04-11 03:03:24 +08:00
|
|
|
size-garbage: disk space consumed by garbage files, in KiB (unless -H is
|
|
|
|
specified)
|
2016-10-04 04:36:18 +08:00
|
|
|
+
|
|
|
|
alternate: absolute path of alternate object databases; may appear
|
|
|
|
multiple times, one line per path. Note that if the path contains
|
|
|
|
non-printable characters, it may be surrounded by double-quotes and
|
|
|
|
contain C-style backslashed escape sequences.
|
2013-04-11 03:03:24 +08:00
|
|
|
|
|
|
|
-H::
|
|
|
|
--human-readable::
|
|
|
|
|
|
|
|
Print sizes in human readable format
|
2006-05-02 14:05:39 +08:00
|
|
|
|
2005-08-23 16:49:47 +08:00
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 15:07:32 +08:00
|
|
|
Part of the linkgit:git[1] suite
|