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

AUTHOR

37       Written by Lukas Sandström <lukass@etek.chalmers.se[1]>
38

DOCUMENTATION

40       Documentation by Lukas Sandström <lukass@etek.chalmers.se[1]>
41

SEE ALSO

43       git-pack-objects(1) git-repack(1) git-prune-packed(1)
44

GIT

46       Part of the git(1) suite
47

NOTES

49        1. lukass@etek.chalmers.se
50           mailto:lukass@etek.chalmers.se
51
52
53
54Git 1.7.4.4                       04/11/2011             GIT-PACK-REDUNDANT(1)
Impressum