]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/git-prune-packed.txt
t4034: abstract away SHA-1-specific constants
[thirdparty/git.git] / Documentation / git-prune-packed.txt
1 git-prune-packed(1)
2 ===================
3
4 NAME
5 ----
6 git-prune-packed - Remove extra objects that are already in pack files
7
8
9 SYNOPSIS
10 --------
11 [verse]
12 'git prune-packed' [-n|--dry-run] [-q|--quiet]
13
14
15 DESCRIPTION
16 -----------
17 This program searches the `$GIT_OBJECT_DIRECTORY` for all objects that currently
18 exist in a pack file as well as the independent object directories.
19
20 All such extra objects are removed.
21
22 A pack is a collection of objects, individually compressed, with delta
23 compression applied, stored in a single file, with an associated index file.
24
25 Packs are used to reduce the load on mirror systems, backup engines,
26 disk storage, etc.
27
28
29 OPTIONS
30 -------
31 -n::
32 --dry-run::
33 Don't actually remove any objects, only show those that would have been
34 removed.
35
36 -q::
37 --quiet::
38 Squelch the progress indicator.
39
40 SEE ALSO
41 --------
42 linkgit:git-pack-objects[1]
43 linkgit:git-repack[1]
44
45 GIT
46 ---
47 Part of the linkgit:git[1] suite