]>
Commit | Line | Data |
---|---|---|
215a7ad1 JH |
1 | git-repack(1) |
2 | ============= | |
e31bb3bb JH |
3 | |
4 | NAME | |
5 | ---- | |
215a7ad1 | 6 | git-repack - Script used to pack a repository from a collection of |
e31bb3bb JH |
7 | objects into pack files. |
8 | ||
9 | ||
10 | SYNOPSIS | |
11 | -------- | |
215a7ad1 | 12 | 'git-repack' [-a] [-d] |
e31bb3bb JH |
13 | |
14 | DESCRIPTION | |
15 | ----------- | |
e31bb3bb | 16 | |
f85a4191 JH |
17 | This script is used to combine all objects that do not currently |
18 | reside in a "pack", into a pack. | |
19 | ||
20 | A pack is a collection of objects, individually compressed, with | |
21 | delta compression applied, stored in a single file, with an | |
22 | associated index file. | |
23 | ||
24 | Packs are used to reduce the load on mirror systems, backup | |
25 | engines, disk storage, etc. | |
26 | ||
27 | OPTIONS | |
28 | ------- | |
29 | ||
30 | -a:: | |
31 | Instead of incrementally packing the unpacked objects, | |
32 | pack everything available into a single pack. | |
33 | Especially useful when packing a repository that is used | |
34 | for a private development and there no need to worry | |
35 | about people fetching via dumb protocols from it. Use | |
36 | with '-d'. | |
37 | ||
38 | -d:: | |
39 | After packing, if the newly created packs make some | |
40 | existing packs redundant, remove the redundant packs. | |
e31bb3bb | 41 | |
e31bb3bb JH |
42 | |
43 | Author | |
44 | ------ | |
45 | Written by Linus Torvalds <torvalds@osdl.org> | |
46 | ||
47 | Documentation | |
48 | -------------- | |
49 | Documentation by Ryan Anderson <ryan@michonline.com> | |
50 | ||
51 | See-Also | |
52 | -------- | |
df8baa42 JF |
53 | gitlink:git-pack-objects[1] |
54 | gitlink:git-prune-packed[1] | |
e31bb3bb JH |
55 | |
56 | GIT | |
57 | --- | |
a7154e91 | 58 | Part of the gitlink:git[7] suite |
e31bb3bb | 59 |