summaryrefslogtreecommitdiff
path: root/Documentation/git-update-server-info.txt
blob: 8235f97c7c96db8d1e01d213b35344a4152780c8 (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
git-update-server-info(1)
=========================

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


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

DESCRIPTION
-----------
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.

A future protocol update will allow a server to respond to a "git
clone" request by first telling the client to fetch a pre-made
bundle file and then fetch from it.  To prepare such a server,
the pre-made bundle file `$GIT_DIR/clone.bundle` needs to be
kept up to date.

This command generates such auxiliary files.


OPTIONS
-------

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


OUTPUT
------

Currently the command updates the following files.  Please see
linkgit:gitrepository-layout[5] for description of
what they are for:

* objects/info/packs

* info/refs

* clone.bundle

GIT
---
Part of the linkgit:git[1] suite