<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect2 SYSTEM "../../../dtd/dblite.dtd">

<sect2 lang="en" id="git-update-server-info(1)">
    <title>git-update-server-info(1)</title>
    <date>2024-07-02</date>
<revhistory><revision><date>2024-07-02</date></revision></revhistory>
<indexterm>
<primary>git-update-server-info(1)</primary>
</indexterm>
<simplesect id="git-update-server-info(1)__name">
<title>NAME</title>
<simpara>git-update-server-info - Update auxiliary info file to help dumb servers</simpara>
</simplesect>
<simplesect id="git-update-server-info(1)__synopsis">
<title>SYNOPSIS</title>
<blockquote>
<literallayout><emphasis>git update-server-info</emphasis> [-f | --force]</literallayout>
</blockquote>
</simplesect>
<simplesect id="git-update-server-info(1)__description">
<title>DESCRIPTION</title>
<simpara>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.</simpara>
</simplesect>
<simplesect id="git-update-server-info(1)__options">
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>
-f
</term>
<term>
--force
</term>
<listitem>
<simpara>
        Update the info files from scratch.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</simplesect>
<simplesect id="git-update-server-info(1)__output">
<title>OUTPUT</title>
<simpara>Currently the command updates the following files.  Please see
<xref linkend="gitrepository-layout(5)" /> for a description of
what they are for:</simpara>
<itemizedlist>
<listitem>
<simpara>
objects/info/packs
</simpara>
</listitem>
<listitem>
<simpara>
info/refs
</simpara>
</listitem>
</itemizedlist>
</simplesect>
<simplesect id="git-update-server-info(1)__git">
<title>GIT</title>
<simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
</simplesect>
</sect2>
