Documentation / git-repack.txton commit Merge branch 'fixes' (952f87a)
   1git-repack(1)
   2=============
   3v0.99.5, August 2005
   4
   5NAME
   6----
   7git-repack - Script used to pack a repository from a collection of
   8objects into pack files.
   9
  10
  11SYNOPSIS
  12--------
  13'git-repack' [-a] [-d]
  14
  15DESCRIPTION
  16-----------
  17
  18This script is used to combine all objects that do not currently
  19reside in a "pack", into a pack.
  20
  21A pack is a collection of objects, individually compressed, with
  22delta compression applied, stored in a single file, with an
  23associated index file.
  24
  25Packs are used to reduce the load on mirror systems, backup
  26engines, disk storage, etc.
  27
  28OPTIONS
  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.
  42
  43
  44Author
  45------
  46Written by Linus Torvalds <torvalds@osdl.org>
  47
  48Documentation
  49--------------
  50Documentation by Ryan Anderson <ryan@michonline.com>
  51
  52See-Also
  53--------
  54gitlink:git-pack-objects[1]
  55gitlink:git-prune-packed[1]
  56
  57GIT
  58---
  59Part of the gitlink:git[7] suite
  60