Document --patch-with-raw
[git/dscho.git] / Documentation / git-repack.txt
blobd2f9a44382f3e74860bb5f489acf2843281ffb1c
1 git-repack(1)
2 =============
4 NAME
5 ----
6 git-repack - Script used to pack a repository from a collection of
7 objects into pack files.
10 SYNOPSIS
11 --------
12 'git-repack' [-a] [-d] [-f] [-l] [-n] [-q]
14 DESCRIPTION
15 -----------
17 This script is used to combine all objects that do not currently
18 reside in a "pack", into a pack.
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.
24 Packs are used to reduce the load on mirror systems, backup
25 engines, disk storage, etc.
27 OPTIONS
28 -------
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'.
38 -d::
39         After packing, if the newly created packs make some
40         existing packs redundant, remove the redundant packs.
42 -l::
43         Pass the `--local` option to `git pack-objects`, see
44         gitlink:git-pack-objects[1].
46 -f::
47         Pass the `--no-reuse-delta` option to `git pack-objects`, see
48         gitlink:git-pack-objects[1].
50 -q::
51         Pass the `-q` option to `git pack-objects`, see
52         gitlink:git-pack-objects[1].
54 -n::
55         Do not update the server information with
56         `git update-server-info`.
58 Author
59 ------
60 Written by Linus Torvalds <torvalds@osdl.org>
62 Documentation
63 --------------
64 Documentation by Ryan Anderson <ryan@michonline.com>
66 See Also
67 --------
68 gitlink:git-pack-objects[1]
69 gitlink:git-prune-packed[1]
71 GIT
72 ---
73 Part of the gitlink:git[7] suite