Home Explore Blog CI



git

1st chunk of `Documentation/git-update-server-info.adoc`
efb0f72a15d0cb43c7eeaf50dabf32b950836d6a685e8eb40000000100000321
git-update-server-info(1)
=========================

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


SYNOPSIS
--------
[verse]
'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
linkgit:gitrepository-layout[5] for a description of
what they are for:

* objects/info/packs

* info/refs

GIT
---
Part of the linkgit:git[1] suite

Title: Git Update Server Info
Summary
The git-update-server-info command generates auxiliary information files to help dumb servers provide reference and pack information to clients, updating files such as objects/info/packs and info/refs to facilitate client discovery of available references and packs on the server.