blob: 9fed59a31724c4dccd7364c03c32c72d9c8d4664 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-prune-packed(1)
Junio C Hamano4c43d652014-10-20 21:14:292===================
Junio C Hamano1a4e8412005-12-27 08:17:233
4NAME
5----
Junio C Hamano7c73c662007-01-19 00:37:506git-prune-packed - Remove extra objects that are already in pack files
Junio C Hamano1a4e8412005-12-27 08:17:237
8
9SYNOPSIS
10--------
Junio C Hamano15567bc2011-07-23 00:51:5911[verse]
Junio C Hamanofd9274d2009-08-05 21:21:3912'git prune-packed' [-n|--dry-run] [-q|--quiet]
Junio C Hamano1a4e8412005-12-27 08:17:2313
14
15DESCRIPTION
16-----------
Junio C Hamanob9acecb2013-10-16 01:18:5617This program searches the `$GIT_OBJECT_DIRECTORY` for all objects that currently
Junio C Hamano1a4e8412005-12-27 08:17:2318exist in a pack file as well as the independent object directories.
19
20All such extra objects are removed.
21
22A pack is a collection of objects, individually compressed, with delta
23compression applied, stored in a single file, with an associated index file.
24
25Packs are used to reduce the load on mirror systems, backup engines,
26disk storage, etc.
27
28
29OPTIONS
30-------
31-n::
Junio C Hamanofd9274d2009-08-05 21:21:3932--dry-run::
Junio C Hamano1a4e8412005-12-27 08:17:2333 Don't actually remove any objects, only show those that would have been
34 removed.
35
Junio C Hamano24351a82007-01-13 08:09:1736-q::
Junio C Hamanofd9274d2009-08-05 21:21:3937--quiet::
Junio C Hamano24351a82007-01-13 08:09:1738Squelch the progress indicator.
39
Junio C Hamano9049d912008-05-29 02:09:5040SEE ALSO
Junio C Hamano1a4e8412005-12-27 08:17:2341--------
Junio C Hamano35738e82008-01-07 07:55:4642linkgit:git-pack-objects[1]
43linkgit:git-repack[1]
Junio C Hamano1a4e8412005-12-27 08:17:2344
45GIT
46---
Junio C Hamanof7c042d2008-06-06 22:50:5347Part of the linkgit:git[1] suite