{
    "mode": "man",
    "parameter": "git-prune-packed",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/git-prune-packed/1/json",
    "generated": "2026-05-30T06:05:39Z",
    "synopsis": "git prune-packed [-n|--dry-run] [-q|--quiet]",
    "sections": {
        "NAME": {
            "content": "git-prune-packed - Remove extra objects that are already in pack files\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "git prune-packed [-n|--dry-run] [-q|--quiet]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This program searches the $GITOBJECTDIRECTORY for all objects that currently exist in a\npack file as well as the independent object directories.\n\nAll such extra objects are removed.\n\nA pack is a collection of objects, individually compressed, with delta compression applied,\nstored in a single file, with an associated index file.\n\nPacks are used to reduce the load on mirror systems, backup engines, disk storage, etc.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-n, --dry-run",
                    "content": "Don’t actually remove any objects, only show those that would have been removed.\n",
                    "flag": "-n",
                    "long": "--dry-run"
                },
                {
                    "name": "-q, --quiet",
                    "content": "Squelch the progress indicator.\n",
                    "flag": "-q",
                    "long": "--quiet"
                }
            ]
        },
        "SEE ALSO": {
            "content": "git-pack-objects(1) git-repack(1)\n",
            "subsections": []
        },
        "GIT": {
            "content": "Part of the git(1) suite\n\n\n\nGit 2.34.1                                   02/26/2026                          GIT-PRUNE-PACKED(1)",
            "subsections": []
        }
    },
    "summary": "git-prune-packed - Remove extra objects that are already in pack files",
    "flags": [
        {
            "flag": "-n",
            "long": "--dry-run",
            "arg": null,
            "description": "Don’t actually remove any objects, only show those that would have been removed."
        },
        {
            "flag": "-q",
            "long": "--quiet",
            "arg": null,
            "description": "Squelch the progress indicator."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "git-pack-objects",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/git-pack-objects/1/json"
        },
        {
            "name": "git-repack",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/git-repack/1/json"
        }
    ]
}