Documentation / git-pack-redundant.txton commit Merge branch 'jm/dedup-test-config' (bbfa0cc)
   1git-pack-redundant(1)
   2=====================
   3
   4NAME
   5----
   6git-pack-redundant - Find redundant pack files
   7
   8
   9SYNOPSIS
  10--------
  11[verse]
  12'git pack-redundant' [ --verbose ] [ --alt-odb ] < --all | .pack filename ... >
  13
  14DESCRIPTION
  15-----------
  16This program computes which packs in your repository
  17are redundant. The output is suitable for piping to
  18`xargs rm` if you are in the root of the repository.
  19
  20'git pack-redundant' accepts a list of objects on standard input. Any objects
  21given will be ignored when checking which packs are required. This makes the
  22following command useful when wanting to remove packs which contain unreachable
  23objects.
  24
  25git fsck --full --unreachable | cut -d ' ' -f3 | \
  26git pack-redundant --all | xargs rm
  27
  28OPTIONS
  29-------
  30
  31
  32--all::
  33        Processes all packs. Any filenames on the command line are ignored.
  34
  35--alt-odb::
  36        Don't require objects present in packs from alternate object
  37        directories to be present in local packs.
  38
  39--verbose::
  40        Outputs some statistics to stderr. Has a small performance penalty.
  41
  42SEE ALSO
  43--------
  44linkgit:git-pack-objects[1]
  45linkgit:git-repack[1]
  46linkgit:git-prune-packed[1]
  47
  48GIT
  49---
  50Part of the linkgit:git[1] suite