2018-07-12 21:39:20 +02:00
|
|
|
git-multi-pack-index(1)
|
|
|
|
=======================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
git-multi-pack-index - Write and verify multi-pack-indexes
|
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
[verse]
|
2019-06-11 01:35:22 +02:00
|
|
|
'git multi-pack-index' [--object-dir=<dir>] <subcommand>
|
2018-07-12 21:39:20 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
Write or verify a multi-pack-index (MIDX) file.
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
|
|
|
|
--object-dir=<dir>::
|
|
|
|
Use given directory for the location of Git objects. We check
|
|
|
|
`<dir>/packs/multi-pack-index` for the current MIDX file, and
|
|
|
|
`<dir>/packs` for the pack-files to index.
|
|
|
|
|
2019-06-11 01:35:22 +02:00
|
|
|
The following subcommands are available:
|
|
|
|
|
2018-07-12 21:39:21 +02:00
|
|
|
write::
|
2019-06-11 01:35:22 +02:00
|
|
|
Write a new MIDX file.
|
2018-07-12 21:39:21 +02:00
|
|
|
|
2018-09-13 20:02:13 +02:00
|
|
|
verify::
|
2019-06-11 01:35:22 +02:00
|
|
|
Verify the contents of the MIDX file.
|
2018-09-13 20:02:13 +02:00
|
|
|
|
2018-07-12 21:39:21 +02:00
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
|
|
|
* Write a MIDX file for the packfiles in the current .git folder.
|
|
|
|
+
|
|
|
|
-----------------------------------------------
|
|
|
|
$ git multi-pack-index write
|
|
|
|
-----------------------------------------------
|
|
|
|
|
|
|
|
* Write a MIDX file for the packfiles in an alternate object store.
|
|
|
|
+
|
|
|
|
-----------------------------------------------
|
|
|
|
$ git multi-pack-index --object-dir <alt> write
|
|
|
|
-----------------------------------------------
|
|
|
|
|
2018-09-13 20:02:13 +02:00
|
|
|
* Verify the MIDX file for the packfiles in the current .git folder.
|
|
|
|
+
|
|
|
|
-----------------------------------------------
|
|
|
|
$ git multi-pack-index verify
|
|
|
|
-----------------------------------------------
|
|
|
|
|
2018-07-12 21:39:20 +02:00
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
See link:technical/multi-pack-index.html[The Multi-Pack-Index Design
|
|
|
|
Document] and link:technical/pack-format.html[The Multi-Pack-Index
|
|
|
|
Format] for more information on the multi-pack-index feature.
|
|
|
|
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
|
|
|
Part of the linkgit:git[1] suite
|