{
    "mode": "man",
    "parameter": "GIT-VERIFY-PACK",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/GIT-VERIFY-PACK/1/json",
    "generated": "2026-10-22T13:16:33Z",
    "synopsis": "git verify-pack [-v | --verbose] [-s | --stat-only] [--] <pack>.idx...",
    "sections": {
        "NAME": {
            "content": "git-verify-pack - Validate packed Git archive files\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "git verify-pack [-v | --verbose] [-s | --stat-only] [--] <pack>.idx...\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads given idx file for packed Git archive created with the git pack-objects command and\nverifies the idx file and the corresponding pack file.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "<pack>.idx ...\nThe idx files to verify.\n",
            "subsections": [
                {
                    "name": "-v, --verbose",
                    "content": "After verifying the pack, show the list of objects contained in the pack and a histogram\nof delta chain length.\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "-s, --stat-only",
                    "content": "Do not verify the pack contents; only show the histogram of delta chain length. With\n--verbose, the list of objects is also shown.\n\n--\nDo not interpret any more arguments as options.\n",
                    "flag": "-s",
                    "long": "--stat-only"
                }
            ]
        },
        "OUTPUT FORMAT": {
            "content": "When specifying the -v option the format used is:\n\nSHA-1 type size size-in-packfile offset-in-packfile\n\nfor objects that are not deltified in the pack, and\n\nSHA-1 type size size-in-packfile offset-in-packfile depth base-SHA-1\n\nfor objects that are deltified.\n",
            "subsections": []
        },
        "GIT": {
            "content": "Part of the git(1) suite\n\nGit 2.43.0                                   07/02/2025                           GIT-VERIFY-PACK(1)",
            "subsections": []
        }
    },
    "summary": "git-verify-pack - Validate packed Git archive files",
    "flags": [
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "After verifying the pack, show the list of objects contained in the pack and a histogram of delta chain length."
        },
        {
            "flag": "-s",
            "long": "--stat-only",
            "arg": null,
            "description": "Do not verify the pack contents; only show the histogram of delta chain length. With --verbose, the list of objects is also shown. -- Do not interpret any more arguments as options."
        }
    ],
    "examples": [],
    "see_also": [],
    "tldr": {
        "source": "official",
        "description": "Verify packed Git archive files.",
        "examples": [
            {
                "description": "Verify a packed Git archive file",
                "command": "git verify-pack {{path/to/pack-file}}"
            },
            {
                "description": "Verify a packed Git archive file and show verbose details",
                "command": "git verify-pack {{-v|--verbose}} {{path/to/pack-file}}"
            },
            {
                "description": "Verify a packed Git archive file and only display the statistics",
                "command": "git verify-pack {{-s|--stat-only}} {{path/to/pack-file}}"
            }
        ]
    }
}