Documentation / git-repack.txton commit Merge branch 'fix' (29cd1fa)
   1git-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--------
  12'git-repack' [-a] [-d] [-l] [-n]
  13
  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::
  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.
  41
  42-l::
  43        Pass the `--local` option to `git pack-objects`, see
  44        gitlink:git-pack-objects[1].
  45
  46-n::
  47        Do not update the server information with
  48        `git update-server-info`.
  49
  50Author
  51------
  52Written by Linus Torvalds <torvalds@osdl.org>
  53
  54Documentation
  55--------------
  56Documentation by Ryan Anderson <ryan@michonline.com>
  57
  58See-Also
  59--------
  60gitlink:git-pack-objects[1]
  61gitlink:git-prune-packed[1]
  62
  63GIT
  64---
  65Part of the gitlink:git[7] suite
  66