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

112 lines
2.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GIT-UNPACK-OBJECTS</TITLE>
</HEAD><BODY>
<H1>GIT-UNPACK-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-unpack-objects - Unpack objects from a packed archive
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
<PRE>
<I>git unpack-objects</I> [-n] [-q] [-r] [--strict]
</PRE>
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
Read a packed archive (.pack) from the standard input, expanding the objects contained within and writing them into the repository in &quot;loose&quot; (one object per file) format.
<P>
Objects that already exist in the repository will <B>not</B> be unpacked from the packfile. Therefore, nothing will be unpacked if you use this command on a packfile that exists within the target repository.
<P>
See <B><A HREF="/cgi-bin/man/man2html?1+git-repack">git-repack</A></B>(1) for options to generate new packs and replace existing ones.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<P>
-n
<DL COMPACT><DT id="1"><DD>
Dry run. Check the pack file without actually unpacking the objects.
</DL>
<P>
-q
<DL COMPACT><DT id="2"><DD>
The command usually shows percentage progress. This flag suppresses it.
</DL>
<P>
-r
<DL COMPACT><DT id="3"><DD>
When unpacking a corrupt packfile, the command dies at the first corruption. This flag tells it to keep going and make the best effort to recover as many objects as possible.
</DL>
<P>
--strict
<DL COMPACT><DT id="4"><DD>
Don't write objects with broken content or links.
</DL>
<P>
--max-input-size=&lt;size&gt;
<DL COMPACT><DT id="5"><DD>
Die, if the pack is larger than &lt;size&gt;.
</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="6"><A HREF="#lbAB">NAME</A><DD>
<DT id="7"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="8"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="9"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="10"><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:15 GMT, March 31, 2021
</BODY>
</HTML>