1 git-multi-pack-index(1)
2 =======================
6 git-multi-pack-index - Write and verify multi-pack-indexes
12 'git multi-pack-index' [--object-dir=<dir>] <subcommand>
16 Write or verify a multi-pack-index (MIDX) file.
22 Use given directory for the location of Git objects. We check
23 `<dir>/packs/multi-pack-index` for the current MIDX file, and
24 `<dir>/packs` for the pack-files to index.
26 The following subcommands are available:
29 Write a new MIDX file.
32 Verify the contents of the MIDX file.
35 Delete the pack-files that are tracked by the MIDX file, but
36 have no objects referenced by the MIDX. Rewrite the MIDX file
37 afterward to remove all references to these pack-files.
43 * Write a MIDX file for the packfiles in the current .git folder.
45 -----------------------------------------------
46 $ git multi-pack-index write
47 -----------------------------------------------
49 * Write a MIDX file for the packfiles in an alternate object store.
51 -----------------------------------------------
52 $ git multi-pack-index --object-dir <alt> write
53 -----------------------------------------------
55 * Verify the MIDX file for the packfiles in the current .git folder.
57 -----------------------------------------------
58 $ git multi-pack-index verify
59 -----------------------------------------------
64 See link:technical/multi-pack-index.html[The Multi-Pack-Index Design
65 Document] and link:technical/pack-format.html[The Multi-Pack-Index
66 Format] for more information on the multi-pack-index feature.
71 Part of the linkgit:git[1] suite