1git-index-pack(1) 2================= 3 4NAME 5---- 6git-index-pack - Build pack index file for an existing packed archive 7 8 9SYNOPSIS 10-------- 11'git-index-pack' [-o <index-file>] { <pack-file> | --stdin [<pack-file>] } 12 13 14DESCRIPTION 15----------- 16Reads a packed archive (.pack) from the specified file, and 17builds a pack index file (.idx) for it. The packed archive 18together with the pack index can then be placed in the 19objects/pack/ directory of a git repository. 20 21 22OPTIONS 23------- 24-o <index-file>:: 25 Write the generated pack index into the specified 26 file. Without this option the name of pack index 27 file is constructed from the name of packed archive 28 file by replacing .pack with .idx (and the program 29 fails if the name of packed archive does not end 30 with .pack). 31 32--stdin:: 33 When this flag is provided, the pack is read from stdin 34 instead and a copy is then written to <pack-file>. If 35 <pack-file> is not specified, the pack is written to 36 objects/pack/ directory of the current git repository with 37 a default name determined from the pack content. 38 39Author 40------ 41Written by Sergey Vlasov <vsu@altlinux.ru> 42 43Documentation 44------------- 45Documentation by Sergey Vlasov 46 47GIT 48--- 49Part of the gitlink:git[7] suite 50