summaryrefslogtreecommitdiff
path: root/Documentation/git-update-server-info.txt
blob: 74c4364ad847e29a1e1918b1d1c7781454d064fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
git-update-server-info(1)
=========================
v0.1, July 2005

NAME
----
git-update-server-info - Update auxiliary info file to help dumb servers


SYNOPSIS
--------
'git-update-server-info' [--force]

DESCRIPTION
-----------
A dumb server that does not do on-the-fly pack generations can
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 and make optimized
pull decisions.  This command generates such auxiliary files.


OPTIONS
-------

--force::
	Update the info files from scratch.


OUTPUT
------

Currently the command updates the following files.  Please see
link:repository-layout.html[repository-layout] for description
of what they are for:

* objects/info/packs

* info/refs

* info/rev-cache


BUGS
----
When you remove an existing ref, the command fails to update
info/refs file unless `--force` flag is given.


Author
------
Written by Junio C Hamano <junkio@cox.net>

Documentation
--------------
Documentation by Junio C Hamano.

GIT
---
Part of the link:git.html[git] suite