]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-multi-pack-index.txt
repack: refactor pack deletion for future use
[thirdparty/git.git] / Documentation / git-multi-pack-index.txt
CommitLineData
6a257f03
DS
1git-multi-pack-index(1)
2=======================
3
4NAME
5----
6git-multi-pack-index - Write and verify multi-pack-indexes
7
8
9SYNOPSIS
10--------
11[verse]
a3407730 12'git multi-pack-index' [--object-dir=<dir>] <verb>
6a257f03
DS
13
14DESCRIPTION
15-----------
16Write or verify a multi-pack-index (MIDX) file.
17
18OPTIONS
19-------
20
21--object-dir=<dir>::
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.
25
a3407730
DS
26write::
27 When given as the verb, write a new MIDX file to
28 `<dir>/packs/multi-pack-index`.
29
56ee7ff1
DS
30verify::
31 When given as the verb, verify the contents of the MIDX file
32 at `<dir>/packs/multi-pack-index`.
33
a3407730
DS
34
35EXAMPLES
36--------
37
38* Write a MIDX file for the packfiles in the current .git folder.
39+
40-----------------------------------------------
41$ git multi-pack-index write
42-----------------------------------------------
43
44* Write a MIDX file for the packfiles in an alternate object store.
45+
46-----------------------------------------------
47$ git multi-pack-index --object-dir <alt> write
48-----------------------------------------------
49
56ee7ff1
DS
50* Verify the MIDX file for the packfiles in the current .git folder.
51+
52-----------------------------------------------
53$ git multi-pack-index verify
54-----------------------------------------------
55
6a257f03
DS
56
57SEE ALSO
58--------
59See link:technical/multi-pack-index.html[The Multi-Pack-Index Design
60Document] and link:technical/pack-format.html[The Multi-Pack-Index
61Format] for more information on the multi-pack-index feature.
62
63
64GIT
65---
66Part of the linkgit:git[1] suite