{
    "mode": "man",
    "parameter": "git-update-server-info",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/git-update-server-info/1/json",
    "generated": "2026-06-03T10:08:56Z",
    "synopsis": "git update-server-info",
    "sections": {
        "NAME": {
            "content": "git-update-server-info - Update auxiliary info file to help dumb servers\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "git update-server-info\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "A dumb server that does not do on-the-fly pack generations must have some auxiliary\ninformation files in $GITDIR/info and $GITOBJECTDIRECTORY/info directories to help clients\ndiscover what references and packs the server has. This command generates such auxiliary\nfiles.\n",
            "subsections": []
        },
        "OUTPUT": {
            "content": "Currently the command updates the following files. Please see gitrepository-layout(5) for\ndescription of what they are for:\n\n•   objects/info/packs\n\n•   info/refs\n",
            "subsections": []
        },
        "GIT": {
            "content": "Part of the git(1) suite\n\n\n\nGIT-UPDATE-SERVER()",
            "subsections": []
        }
    },
    "summary": "git-update-server-info - Update auxiliary info file to help dumb servers",
    "flags": [],
    "examples": [],
    "see_also": [],
    "tldr": {
        "source": "official",
        "description": "Update auxiliary repository information for dumb servers (a regular web server that only serves files).",
        "examples": [
            {
                "description": "Update Git's auxiliary files for dumb HTTP serving",
                "command": "git update-server-info"
            },
            {
                "description": "Rebuild the auxiliary info files from scratch",
                "command": "git update-server-info {{-f|--force}}"
            }
        ]
    }
}