man-pages/man1/git-count-objects.1.html
2021-03-31 01:06:50 +01:00

104 lines
2.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GIT-COUNT-OBJECTS</TITLE>
</HEAD><BODY>
<H1>GIT-COUNT-OBJECTS</H1>
Section: Git Manual (1)<BR>Updated: 03/04/2021<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
git-count-objects - Count unpacked number of objects and their disk consumption
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
<PRE>
<I>git count-objects</I> [-v] [-H | --human-readable]
</PRE>
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
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.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<P>
-v, --verbose
<DL COMPACT><DT id="1"><DD>
Report in more detail:
<P>
count: the number of loose objects
<P>
size: disk space consumed by loose objects, in KiB (unless -H is specified)
<P>
in-pack: the number of in-pack objects
<P>
size-pack: disk space consumed by the packs, in KiB (unless -H is specified)
<P>
prune-packable: the number of loose objects that are also present in the packs. These objects could be pruned using
<B>git prune-packed</B>.
<P>
garbage: the number of files in object database that are neither valid loose objects nor valid packs
<P>
size-garbage: disk space consumed by garbage files, in KiB (unless -H is specified)
<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.
</DL>
<P>
-H, --human-readable
<DL COMPACT><DT id="2"><DD>
Print sizes in human readable format
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>GIT</H2>
<P>
Part of the <B><A HREF="/cgi-bin/man/man2html?1+git">git</A></B>(1) suite
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="5"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="6"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="7"><A HREF="#lbAF">GIT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:13 GMT, March 31, 2021
</BODY>
</HTML>