1GIT-PACK-REDUNDANT(1)             Git Manual             GIT-PACK-REDUNDANT(1)
2
3
4

NAME

6       git-pack-redundant - Find redundant pack files
7

SYNOPSIS

9       git pack-redundant [ --verbose ] [ --alt-odb ] < --all | .pack filename ... >
10
11

DESCRIPTION

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

OPTIONS

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

SEE ALSO

37       git-pack-objects(1) git-repack(1) git-prune-packed(1)
38

GIT

40       Part of the git(1) suite
41
42
43
44Git 1.8.3.1                       11/19/2018             GIT-PACK-REDUNDANT(1)
Impressum