Git
简体中文 ▾ Topics ▾ Latest version ▾ git-update-server-info last updated in 2.44.0

名称

git-update-server-info - 更新辅助信息文件以帮助哑服务器

概述

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

描述

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.

选项

-f
--force

从头开始更新信息文件。

输出

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

属于 git[1] 文档

scroll-to-top