index-pack: be careful after fixing up the header/footer
[git/dscho.git] / Documentation / git-update-server-info.txt
blob35d27b0c7f0e4b7a1d0851140958e71fabb0e6bc
1 git-update-server-info(1)
2 =========================
4 NAME
5 ----
6 git-update-server-info - Update auxiliary info file to help dumb servers
9 SYNOPSIS
10 --------
11 'git update-server-info' [--force]
13 DESCRIPTION
14 -----------
15 A dumb server that does not do on-the-fly pack generations must
16 have some auxiliary information files in $GIT_DIR/info and
17 $GIT_OBJECT_DIRECTORY/info directories to help clients discover
18 what references and packs the server has.  This command
19 generates such auxiliary files.
22 OPTIONS
23 -------
25 -f::
26 --force::
27         Update the info files from scratch.
30 OUTPUT
31 ------
33 Currently the command updates the following files.  Please see
34 linkgit:gitrepository-layout[5] for description of
35 what they are for:
37 * objects/info/packs
39 * info/refs
42 BUGS
43 ----
44 When you remove an existing ref, the command fails to update
45 info/refs file unless `--force` flag is given.
48 Author
49 ------
50 Written by Junio C Hamano <gitster@pobox.com>
52 Documentation
53 --------------
54 Documentation by Junio C Hamano.
56 GIT
57 ---
58 Part of the linkgit:git[1] suite