Merge branch 'fixes'
[git.git] / Documentation / git-update-server-info.txt
1 git-update-server-info(1)
2 =========================
3
4 NAME
5 ----
6 git-update-server-info - Update auxiliary info file to help dumb servers
7
8
9 SYNOPSIS
10 --------
11 'git-update-server-info' [--force]
12
13 DESCRIPTION
14 -----------
15 A dumb server that does not do on-the-fly pack generations can
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 and make optimized
19 pull decisions.  This command generates such auxiliary files.
20
21
22 OPTIONS
23 -------
24
25 --force::
26         Update the info files from scratch.
27
28
29 OUTPUT
30 ------
31
32 Currently the command updates the following files.  Please see
33 link:repository-layout.html[repository-layout] for description
34 of what they are for:
35
36 * objects/info/packs
37
38 * info/refs
39
40
41 BUGS
42 ----
43 When you remove an existing ref, the command fails to update
44 info/refs file unless `--force` flag is given.
45
46
47 Author
48 ------
49 Written by Junio C Hamano <junkio@cox.net>
50
51 Documentation
52 --------------
53 Documentation by Junio C Hamano.
54
55 GIT
56 ---
57 Part of the gitlink:git[7] suite
58