W3cubDocs

/Git

git-update-server-info

Name

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

Synopsis

git update-server-info [--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 description of what they are for:

  • objects/info/packs

  • info/refs

© 2005–2018 Linus Torvalds and others
Licensed under the GNU General Public License version 2.
https://git-scm.com/docs/git-update-server-info