<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<article lang="en" id="git-prune-packed(1)">
<articleinfo>
    <title>git-prune-packed(1)</title>
        <indexterm>
                <primary>git-prune-packed(1)</primary>
        </indexterm>
</articleinfo>
<simplesect id="_name">
<title>NAME</title>
<simpara>git-prune-packed - Remove extra objects that are already in pack files</simpara>
</simplesect>
<simplesect id="_synopsis">
<title>SYNOPSIS</title>
<simpara><emphasis>git prune-packed</emphasis> [-n] [-q]</simpara>
</simplesect>
<simplesect id="_description">
<title>DESCRIPTION</title>
<simpara>This program searches the <literal>$GIT_OBJECT_DIR</literal> for all objects that currently
exist in a pack file as well as the independent object directories.</simpara>
<simpara>All such extra objects are removed.</simpara>
<simpara>A pack is a collection of objects, individually compressed, with delta
compression applied, stored in a single file, with an associated index file.</simpara>
<simpara>Packs are used to reduce the load on mirror systems, backup engines,
disk storage, etc.</simpara>
</simplesect>
<simplesect id="_options">
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>
-n
</term>
<listitem>
<simpara>
        Don&#8217;t actually remove any objects, only show those that would have been
        removed.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
-q
</term>
<listitem>
<simpara>
        Squelch the progress indicator.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</simplesect>
<simplesect id="_author">
<title>Author</title>
<simpara>Written by Linus Torvalds &lt;<ulink url="mailto:torvalds@osdl.org">torvalds@osdl.org</ulink>&gt;</simpara>
</simplesect>
<simplesect id="_documentation">
<title>Documentation</title>
<simpara>Documentation by Ryan Anderson &lt;<ulink url="mailto:ryan@michonline.com">ryan@michonline.com</ulink>&gt;</simpara>
</simplesect>
<simplesect id="_see_also">
<title>SEE ALSO</title>
<simpara><xref linkend="git-pack-objects(1)"/>
<xref linkend="git-repack(1)"/></simpara>
</simplesect>
<simplesect id="_git">
<title>GIT</title>
<simpara>Part of the <xref linkend="git(1)"/> suite</simpara>
</simplesect>
</article>
