'\" t
.\"     Title: git-update-server-info
.\"    Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 04/20/2026
.\"    Manual: Git Manual
.\"    Source: Git 2.54.0
.\"  Language: English
.\"
.TH "GIT\-UPDATE\-SERVER\-INFO" "1" "04/20/2026" "Git 2\&.54\&.0" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
git-update-server-info \- Update auxiliary info file to help dumb servers
.SH "SYNOPSIS"
.sp
.nf
\fIgit update\-server\-info\fR [\-f | \-\-force]
.fi
.SH "DESCRIPTION"
.sp
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\&.
.SH "OPTIONS"
.PP
\-f, \-\-force
.RS 4
Update the info files from scratch\&.
.RE
.SH "OUTPUT"
.sp
Currently the command updates the following files\&. Please see \fBgitrepository-layout\fR(5) for a description of what they are for:
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
objects/info/packs
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
info/refs
.RE
.SH "GIT"
.sp
Part of the \fBgit\fR(1) suite
