GIT-MULTI-PACK-INDEX(1) | Git Manual | GIT-MULTI-PACK-INDEX(1) |
NAME¶
git-multi-pack-index - Write and verify multi-pack-indexes
SYNOPSIS¶
git multi-pack-index [--object-dir=<dir>] [--[no-]bitmap] <sub-command>
DESCRIPTION¶
Write or verify a multi-pack-index (MIDX) file.
OPTIONS¶
--object-dir=<dir>
<dir> must be an alternate of the current repository.
--[no-]progress
The following subcommands are available:
write
--preferred-pack=<pack>
--[no-]bitmap
--stdin-packs
--refs-snapshot=<path>
A reference snapshot is composed of line-delimited OIDs corresponding to the reference tips, usually taken by git repack prior to generating a new pack. A line may optionally start with a + character to indicate that the reference which corresponds to that OID is "preferred" (see git-config(1)'s pack.preferBitmapTips.)
The file given at <path> is expected to be readable, and can contain duplicates. (If a given OID is given more than once, it is marked as preferred if at least one instance of it begins with the special + marker).
--incremental
verify
expire
Note
this mode is incompatible with incremental MIDX files.
repack
If repack.packKeptObjects is false, then any pack-files with an associated .keep file will not be selected for the batch to repack.
Note
this mode is incompatible with incremental MIDX files.
EXAMPLES¶
$ git multi-pack-index write
$ git multi-pack-index write --preferred-pack=<pack> --bitmap
$ git multi-pack-index --object-dir <alt> write
$ git multi-pack-index verify
SEE ALSO¶
See The Multi-Pack-Index Design Document[1] and gitformat-pack(5) for more information on the multi-pack-index feature and its file format.
GIT¶
Part of the git(1) suite
NOTES¶
- 1.
- The Multi-Pack-Index Design Document
11/25/2024 | Git 2.47.1 |