man > GIT-UPDATE-SERVER-INFO(1)

Update auxiliary repository information for dumb servers (a regular web server that only serves files).

  • Update Git's auxiliary files for dumb HTTP serving
    git update-server-info
  • Rebuild the auxiliary info files from scratch
    git update-server-info {{-f|--force}}
GIT-UPDATE-SERVER-INFO(1)                    Git Manual                    GIT-UPDATE-SERVER-INFO(1)

NAME
       git-update-server-info - Update auxiliary info file to help dumb servers

SYNOPSIS
       git update-server-info [-f | --force]


DESCRIPTION
       A dumb server that does not do on-the-fly pack generations must have some auxiliary
       information files in $GIT_DIR/info and $GIT_OBJECT_DIRECTORY/info directories to help clients
       discover what references and packs the server has. This command generates such auxiliary
       files.

OPTIONS
       -f, --force
           Update the info files from scratch.

OUTPUT
       Currently the command updates the following files. Please see gitrepository-layout(5) for a
       description of what they are for:

       •   objects/info/packs

       •   info/refs

GIT
       Part of the git(1) suite

Git 2.43.0                                   07/02/2025                    GIT-UPDATE-SERVER-INFO(1)

Generated by phpman v4.12.22 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-11-07 15:06 @2600:1f28:365:80b0:dd5a:9b53:5a4c:5e9e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!