6 git-pack-redundant - Find redundant pack files
12 'git pack-redundant' [ --verbose ] [ --alt-odb ] ( --all | <pack-filename>... )
16 This program computes which packs in your repository
17 are redundant. The output is suitable for piping to
18 `xargs rm` if you are in the root of the repository.
20 'git pack-redundant' accepts a list of objects on standard input. Any objects
21 given will be ignored when checking which packs are required. This makes the
22 following command useful when wanting to remove packs which contain unreachable
25 git fsck --full --unreachable | cut -d ' ' -f3 | \
26 git pack-redundant --all | xargs rm
33 Processes all packs. Any filenames on the command line are ignored.
36 Don't require objects present in packs from alternate object
37 directories to be present in local packs.
40 Outputs some statistics to stderr. Has a small performance penalty.
44 linkgit:git-pack-objects[1]
46 linkgit:git-prune-packed[1]
50 Part of the linkgit:git[1] suite