Git Internals and Plumbing/Inspect pack contents

Examine packed object storage.

Section: Transfer and Packfile Plumbing

Inspect pack contents

bash
bash
git verify-pack -v .git/objects/pack/pack-123.idx

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Transfer and Packfile Plumbing
Index pack file
Create index for an existing pack.
OpenIn sheetbashsame section
Create pack from stdin list
Create a pack from listed objects.
OpenIn sheetbashsame section
Unpack objects from stream
Inflate objects from a pack stream.
OpenIn sheetbashsame section
Write blob object
Store file content as a blob and print its object ID.
OpenIn sheetbash1 tag match
List tracked files
Print index entries.
OpenIn sheetbash1 tag match
List refs
List local refs and object IDs.
OpenIn sheetbash1 tag match