2005-09-08 00:26:23 +00:00
|
|
|
git-count-objects(1)
|
|
|
|
====================
|
2005-08-23 08:49:47 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2007-01-18 23:53:37 +00:00
|
|
|
git-count-objects - Count unpacked number of objects and their disk consumption
|
2005-08-23 08:49:47 +00:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 02:38:26 +00:00
|
|
|
[verse]
|
2013-04-10 19:03:24 +00:00
|
|
|
'git count-objects' [-v] [-H | --human-readable]
|
2005-08-23 08:49:47 +00:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-08-27 01:18:48 +00: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 08:49:47 +00:00
|
|
|
|
2006-05-02 06:05:39 +00:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-v::
|
2008-06-08 01:36:10 +00:00
|
|
|
--verbose::
|
2013-02-08 03:48:25 +00:00
|
|
|
Report in more detail:
|
|
|
|
+
|
|
|
|
count: the number of loose objects
|
|
|
|
+
|
2013-04-10 19:03:24 +00:00
|
|
|
size: disk space consumed by loose objects, in KiB (unless -H is specified)
|
2013-02-08 03:48:25 +00:00
|
|
|
+
|
|
|
|
in-pack: the number of in-pack objects
|
|
|
|
+
|
2013-04-10 19:03:24 +00:00
|
|
|
size-pack: disk space consumed by the packs, in KiB (unless -H is specified)
|
2013-02-08 03:48:25 +00: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-03-31 22:11:44 +00:00
|
|
|
garbage: the number of files in object database that are neither valid loose
|
|
|
|
objects nor valid packs
|
2013-02-13 09:13:19 +00:00
|
|
|
+
|
2013-04-10 19:03:24 +00:00
|
|
|
size-garbage: disk space consumed by garbage files, in KiB (unless -H is
|
|
|
|
specified)
|
2016-10-03 20:36:18 +00: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-10 19:03:24 +00:00
|
|
|
|
|
|
|
-H::
|
|
|
|
--human-readable::
|
|
|
|
|
|
|
|
Print sizes in human readable format
|
2006-05-02 06:05:39 +00:00
|
|
|
|
2005-08-23 08:49:47 +00:00
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 07:07:32 +00:00
|
|
|
Part of the linkgit:git[1] suite
|