]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/git-update-server-info.txt
Docs: Use "-l::\n--long\n" format in OPTIONS sections
[thirdparty/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 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.
20
21
22 OPTIONS
23 -------
24
25 -f::
26 --force::
27 Update the info files from scratch.
28
29
30 OUTPUT
31 ------
32
33 Currently the command updates the following files. Please see
34 linkgit:gitrepository-layout[5][repository-layout] for description of
35 what they are for:
36
37 * objects/info/packs
38
39 * info/refs
40
41
42 BUGS
43 ----
44 When you remove an existing ref, the command fails to update
45 info/refs file unless `--force` flag is given.
46
47
48 Author
49 ------
50 Written by Junio C Hamano <junkio@cox.net>
51
52 Documentation
53 --------------
54 Documentation by Junio C Hamano.
55
56 GIT
57 ---
58 Part of the linkgit:git[1] suite