summaryrefslogtreecommitdiff
path: root/devdocs/git/git-prune-packed.html
blob: be81d577167706195e33c51ed26f0600d1e70d7d (plain)
1
2
3
4
5
6
<h1>git-prune-packed</h1>  <h2 id="_name">Name</h2> <div class="sectionbody">  <p>git-prune-packed - Remove extra objects that are already in pack files</p>  </div>   <h2 id="_synopsis">Synopsis</h2> <div class="sectionbody"> <div class="verseblock"> <pre class="content" data-language="shell">git prune-packed [-n | --dry-run] [-q | --quiet]</pre> </div> </div>   <h2 id="_description">Description</h2> <div class="sectionbody">  <p>This program searches the <code>$GIT_OBJECT_DIRECTORY</code> for all objects that currently exist in a pack file as well as in the independent object directories.</p>   <p>All such extra objects are removed.</p>   <p>A pack is a collection of objects, individually compressed, with delta compression applied, stored in a single file, with an associated index file.</p>   <p>Packs are used to reduce the load on mirror systems, backup engines, disk storage, etc.</p>  </div>   <h2 id="_options">Options</h2> <div class="sectionbody"> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git-prune-packed.txt--n"> -n </dt> <dt class="hdlist1" id="Documentation/git-prune-packed.txt---dry-run"> --dry-run </dt> <dd> <p>Don’t actually remove any objects, only show those that would have been removed.</p> </dd> <dt class="hdlist1" id="Documentation/git-prune-packed.txt--q"> -q </dt> <dt class="hdlist1" id="Documentation/git-prune-packed.txt---quiet"> --quiet </dt> <dd> <p>Squelch the progress indicator.</p> </dd> </dl> </div> </div>   <h2 id="_see_also">See also</h2> <div class="sectionbody">  <p><a href="git-pack-objects">git-pack-objects[1]</a> <a href="git-repack">git-repack[1]</a></p>  </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-prune-packed" class="_attribution-link">https://git-scm.com/docs/git-prune-packed</a>
  </p>
</div>