{
    "content": [
        {
            "type": "text",
            "text": "# git-prune-packed(1) (man)\n\n**Summary:** git-prune-packed - Remove extra objects that are already in pack files\n\n**Synopsis:** git prune-packed [-n|--dry-run] [-q|--quiet]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -n | --dry-run | — | Don’t actually remove any objects, only show those that would have been removed. |\n| -q | --quiet | — | Squelch the progress indicator. |\n\n## See Also\n\n- git-pack-objects(1)\n- git-repack(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (10 lines)\n- **OPTIONS** (1 lines) — 2 subsections\n  - -n, --dry-run (2 lines)\n  - -q, --quiet (2 lines)\n- **SEE ALSO** (2 lines)\n- **GIT** (5 lines)\n\n## Full Content\n\n### NAME\n\ngit-prune-packed - Remove extra objects that are already in pack files\n\n### SYNOPSIS\n\ngit prune-packed [-n|--dry-run] [-q|--quiet]\n\n### DESCRIPTION\n\nThis 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\n### OPTIONS\n\n#### -n, --dry-run\n\nDon’t actually remove any objects, only show those that would have been removed.\n\n#### -q, --quiet\n\nSquelch the progress indicator.\n\n### SEE ALSO\n\ngit-pack-objects(1) git-repack(1)\n\n### GIT\n\nPart of the git(1) suite\n\n\n\nGit 2.34.1                                   02/26/2026                          GIT-PRUNE-PACKED(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "git-prune-packed",
        "section": "1",
        "mode": "man",
        "summary": "git-prune-packed - Remove extra objects that are already in pack files",
        "synopsis": "git prune-packed [-n|--dry-run] [-q|--quiet]",
        "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-n, --dry-run",
                        "lines": 2,
                        "flag": "-n",
                        "long": "--dry-run"
                    },
                    {
                        "name": "-q, --quiet",
                        "lines": 2,
                        "flag": "-q",
                        "long": "--quiet"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "GIT",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}