summaryrefslogtreecommitdiff
path: root/devdocs/git/git-count-objects.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/git/git-count-objects.html
new repository
Diffstat (limited to 'devdocs/git/git-count-objects.html')
-rw-r--r--devdocs/git/git-count-objects.html6
1 files changed, 6 insertions, 0 deletions
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 @@
+<h1>git-count-objects</h1> <h2 id="_name">Name</h2> <div class="sectionbody"> <p>git-count-objects - Count unpacked number of objects and their disk consumption</p> </div> <h2 id="_synopsis">Synopsis</h2> <div class="sectionbody"> <div class="verseblock"> <pre class="content" data-language="shell">git count-objects [-v] [-H | --human-readable]</pre> </div> </div> <h2 id="_description">Description</h2> <div class="sectionbody"> <p>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.</p> </div> <h2 id="_options">Options</h2> <div class="sectionbody"> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git-count-objects.txt--v"> -v </dt> <dt class="hdlist1" id="Documentation/git-count-objects.txt---verbose"> --verbose </dt> <dd> <p>Provide more detailed reports:</p> <p>count: the number of loose objects</p> <p>size: disk space consumed by loose objects, in KiB (unless -H is specified)</p> <p>in-pack: the number of in-pack objects</p> <p>size-pack: disk space consumed by the packs, in KiB (unless -H is specified)</p> <p>prune-packable: the number of loose objects that are also present in the packs. These objects could be pruned using <code>git prune-packed</code>.</p> <p>garbage: the number of files in the object database that are neither valid loose objects nor valid packs</p> <p>size-garbage: disk space consumed by garbage files, in KiB (unless -H is specified)</p> <p>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.</p> </dd> <dt class="hdlist1" id="Documentation/git-count-objects.txt--H"> -H </dt> <dt class="hdlist1" id="Documentation/git-count-objects.txt---human-readable"> --human-readable </dt> <dd> <p>Print sizes in human readable format</p> </dd> </dl> </div> </div><div class="_attribution">
+ <p class="_attribution-p">
+ &copy; 2012&ndash;2024 Scott Chacon and others<br>Licensed under the MIT License.<br>
+ <a href="https://git-scm.com/docs/git-count-objects" class="_attribution-link">https://git-scm.com/docs/git-count-objects</a>
+ </p>
+</div>