]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-prune-packed.txt
t4034: abstract away SHA-1-specific constants
[thirdparty/git.git] / Documentation / git-prune-packed.txt
CommitLineData
e31bb3bb 1git-prune-packed(1)
c9a5172f 2===================
e31bb3bb
JH
3
4NAME
5----
c3f0baac 6git-prune-packed - Remove extra objects that are already in pack files
e31bb3bb
JH
7
8
9SYNOPSIS
10--------
7791a1d9 11[verse]
7cfe0c98 12'git prune-packed' [-n|--dry-run] [-q|--quiet]
61f693bd 13
e31bb3bb
JH
14
15DESCRIPTION
16-----------
3991e910 17This program searches the `$GIT_OBJECT_DIRECTORY` for all objects that currently
61f693bd 18exist in a pack file as well as the independent object directories.
e31bb3bb
JH
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
61f693bd
JL
25Packs are used to reduce the load on mirror systems, backup engines,
26disk storage, etc.
27
e31bb3bb 28
2db0bfbc
NW
29OPTIONS
30-------
31-n::
7cfe0c98 32--dry-run::
2db0bfbc
NW
33 Don't actually remove any objects, only show those that would have been
34 removed.
35
b60daf05 36-q::
7cfe0c98 37--quiet::
b60daf05
JH
38 Squelch the progress indicator.
39
56ae8df5 40SEE ALSO
e31bb3bb 41--------
5162e697
DM
42linkgit:git-pack-objects[1]
43linkgit:git-repack[1]
e31bb3bb
JH
44
45GIT
46---
9e1f0a85 47Part of the linkgit:git[1] suite