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