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