]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-prune-packed.txt
War on whitespace
[thirdparty/git.git] / Documentation / git-prune-packed.txt
CommitLineData
e31bb3bb
JH
1git-prune-packed(1)
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--------
b60daf05 11'git-prune-packed' [-n] [-q]
61f693bd 12
e31bb3bb
JH
13
14DESCRIPTION
15-----------
61f693bd
JL
16This program search the `$GIT_OBJECT_DIR` for all objects that currently
17exist in a pack file as well as the independent object directories.
e31bb3bb
JH
18
19All such extra objects are removed.
20
21A pack is a collection of objects, individually compressed, with delta
22compression applied, stored in a single file, with an associated index file.
23
61f693bd
JL
24Packs are used to reduce the load on mirror systems, backup engines,
25disk storage, etc.
26
e31bb3bb 27
2db0bfbc
NW
28OPTIONS
29-------
30-n::
31 Don't actually remove any objects, only show those that would have been
32 removed.
33
b60daf05
JH
34-q::
35 Squelch the progress indicator.
36
e31bb3bb
JH
37Author
38------
39Written by Linus Torvalds <torvalds@osdl.org>
40
41Documentation
42--------------
43Documentation by Ryan Anderson <ryan@michonline.com>
44
46444f51 45See Also
e31bb3bb 46--------
df8baa42
JF
47gitlink:git-pack-objects[1]
48gitlink:git-repack[1]
e31bb3bb
JH
49
50GIT
51---
a7154e91 52Part of the gitlink:git[7] suite