From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/git/git-count-objects.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 devdocs/git/git-count-objects.html (limited to 'devdocs/git/git-count-objects.html') diff --git a/devdocs/git/git-count-objects.html b/devdocs/git/git-count-objects.html new file mode 100644 index 00000000..48b72a54 --- /dev/null +++ b/devdocs/git/git-count-objects.html @@ -0,0 +1,6 @@ +

git-count-objects

Name

git-count-objects - Count unpacked number of objects and their disk consumption

Synopsis

git count-objects [-v] [-H | --human-readable]

Description

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.

Options

-v
--verbose

Provide more detailed reports:

count: the number of loose objects

size: disk space consumed by loose objects, in KiB (unless -H is specified)

in-pack: the number of in-pack objects

size-pack: disk space consumed by the packs, in KiB (unless -H is specified)

prune-packable: the number of loose objects that are also present in the packs. These objects could be pruned using git prune-packed.

garbage: the number of files in the object database that are neither valid loose objects nor valid packs

size-garbage: disk space consumed by garbage files, in KiB (unless -H is specified)

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.

-H
--human-readable

Print sizes in human readable format

+

+ © 2012–2024 Scott Chacon and others
Licensed under the MIT License.
+ https://git-scm.com/docs/git-count-objects +

+
-- cgit v1.2.3