blob: d2f9a44382f3e74860bb5f489acf2843281ffb1c [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-repack(1)
2=============
3
4NAME
5----
6git-repack - Script used to pack a repository from a collection of
7objects into pack files.
8
9
10SYNOPSIS
11--------
Junio C Hamano7e9f6b72006-02-22 10:44:5512'git-repack' [-a] [-d] [-f] [-l] [-n] [-q]
Junio C Hamano1a4e8412005-12-27 08:17:2313
14DESCRIPTION
15-----------
16
17This script is used to combine all objects that do not currently
18reside in a "pack", into a pack.
19
20A pack is a collection of objects, individually compressed, with
21delta compression applied, stored in a single file, with an
22associated index file.
23
24Packs are used to reduce the load on mirror systems, backup
25engines, disk storage, etc.
26
27OPTIONS
28-------
29
30-a::
31Instead of incrementally packing the unpacked objects,
32pack everything available into a single pack.
33Especially useful when packing a repository that is used
34for a private development and there no need to worry
35about people fetching via dumb protocols from it. Use
36with '-d'.
37
38-d::
39After packing, if the newly created packs make some
40existing packs redundant, remove the redundant packs.
41
42-l::
43 Pass the `--local` option to `git pack-objects`, see
44 gitlink:git-pack-objects[1].
45
Junio C Hamano7e9f6b72006-02-22 10:44:5546-f::
47 Pass the `--no-reuse-delta` option to `git pack-objects`, see
48 gitlink:git-pack-objects[1].
49
50-q::
51 Pass the `-q` option to `git pack-objects`, see
52 gitlink:git-pack-objects[1].
53
Junio C Hamano1a4e8412005-12-27 08:17:2354-n::
55 Do not update the server information with
56 `git update-server-info`.
57
58Author
59------
60Written by Linus Torvalds <torvalds@osdl.org>
61
62Documentation
63--------------
64Documentation by Ryan Anderson <ryan@michonline.com>
65
Junio C Hamanodecf50e2006-03-05 10:51:1466See Also
Junio C Hamano1a4e8412005-12-27 08:17:2367--------
68gitlink:git-pack-objects[1]
69gitlink:git-prune-packed[1]
70
71GIT
72---
73Part of the gitlink:git[7] suite
74