615246cc52c6c2767ddedf6d8c3c0d7dadad6bb6
[git.git] / man1 / git-repack.1
1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
2 .de Sh \" Subsection
3 .br
4 .if t .Sp
5 .ne 5
6 .PP
7 \fB\\$1\fR
8 .PP
9 ..
10 .de Sp \" Vertical space (when we can't use .PP)
11 .if t .sp .5v
12 .if n .sp
13 ..
14 .de Ip \" List item
15 .br
16 .ie \\n(.$>=3 .ne \\$3
17 .el .ne 3
18 .IP "\\$1" \\$2
19 ..
20 .TH "GIT-REPACK" 1 "" "" ""
21 .SH NAME
22 git-repack \- Script used to pack a repository from a collection of objects into pack files.
23 .SH "SYNOPSIS"
24
25
26 git\-repack [\-a] [\-d] [\-l] [\-n]
27
28 .SH "DESCRIPTION"
29
30
31 This script is used to combine all objects that do not currently reside in a "pack", into a pack\&.
32
33
34 A pack is a collection of objects, individually compressed, with delta compression applied, stored in a single file, with an associated index file\&.
35
36
37 Packs are used to reduce the load on mirror systems, backup engines, disk storage, etc\&.
38
39 .SH "OPTIONS"
40
41 .TP
42 \-a
43 Instead of incrementally packing the unpacked objects, pack everything available into a single pack\&. Especially useful when packing a repository that is used for a private development and there no need to worry about people fetching via dumb protocols from it\&. Use with \-d\&.
44
45 .TP
46 \-d
47 After packing, if the newly created packs make some existing packs redundant, remove the redundant packs\&.
48
49 .TP
50 \-l
51 Pass the \-\-local option to git pack\-objects, see \fBgit\-pack\-objects\fR(1)\&.
52
53 .TP
54 \-n
55 Do not update the server information with git update\-server\-info\&.
56
57 .SH "AUTHOR"
58
59
60 Written by Linus Torvalds <torvalds@osdl\&.org>
61
62 .SH "DOCUMENTATION"
63
64
65 Documentation by Ryan Anderson <ryan@michonline\&.com>
66
67 .SH "SEE-ALSO"
68
69
70 \fBgit\-pack\-objects\fR(1) \fBgit\-prune\-packed\fR(1)
71
72 .SH "GIT"
73
74
75 Part of the \fBgit\fR(7) suite
76