1GIT-PACK-REDUNDANT(1) Git Manual GIT-PACK-REDUNDANT(1)
2
3
4
6 git-pack-redundant - Find redundant pack files
7
9 git pack-redundant [ --verbose ] [ --alt-odb ] < --all | .pack filename
10 ... >
11
13 This program computes which packs in your repository are redundant. The
14 output is suitable for piping to xargs rm if you are in the root of the
15 repository.
16
17 git pack-redundant accepts a list of objects on standard input. Any
18 objects given will be ignored when checking which packs are required.
19 This makes the following command useful when wanting to remove packs
20 which contain unreachable objects.
21
22 git fsck --full --unreachable | cut -d ´ ´ -f3 | \ git pack-redundant
23 --all | xargs rm
24
26 --all
27 Processes all packs. Any filenames on the command line are ignored.
28
29 --alt-odb
30 Don’t require objects present in packs from alternate object
31 directories to be present in local packs.
32
33 --verbose
34 Outputs some statistics to stderr. Has a small performance penalty.
35
37 Written by Lukas Sandström <lukass@etek.chalmers.se[1]>
38
40 Documentation by Lukas Sandström <lukass@etek.chalmers.se[1]>
41
43 git-pack-objects(1) git-repack(1) git-prune-packed(1)
44
46 Part of the git(1) suite
47
49 1. lukass@etek.chalmers.se
50 mailto:lukass@etek.chalmers.se
51
52
53
54Git 1.7.1 08/16/2017 GIT-PACK-REDUNDANT(1)