Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

git-show-index (1)

Name

git-show-index - Show packed archive index

Synopsis

git show-index

Description

GIT-SHOW-INDEX(1)                 Git Manual                 GIT-SHOW-INDEX(1)



NAME
       git-show-index - Show packed archive index

SYNOPSIS
       git show-index


DESCRIPTION
       Read the .idx file for a Git packfile (created with git-pack-objects(1)
       or git-index-pack(1)) from the standard input, and dump its contents.
       The output consists of one object per line, with each line containing
       two or three space-separated columns:

       o   the first column is the offset in bytes of the object within the
           corresponding packfile

       o   the second column is the object id of the object

       o   if the index version is 2 or higher, the third column contains the
           CRC32 of the object data

       The objects are output in the order in which they are found in the
       index file, which should be (in a correctly constructed file) sorted by
       object id.

       Note that you can get more information on a packfile by calling git-
       verify-pack(1). However, as this command considers only the index file
       itself, it's both faster and more flexible.

GIT
       Part of the git(1) suite



Git 2.19.2                        11/21/2018                 GIT-SHOW-INDEX(1)