mirror of
https://github.com/git/git.git
synced 2024-12-12 11:24:02 +08:00
b1889c36d8
Since the git-* commands are not installed in $(bindir), using "git-command <parameters>" in examples in the documentation is not a good idea. On the other hand, it is nice to be able to refer to each command using one hyphenated word. (There is no escaping it, anyway: man page names cannot have spaces in them.) This patch retains the dash in naming an operation, command, program, process, or action. Complete command lines that can be entered at a shell (i.e., without options omitted) are made to use the dashless form. The changes consist only of replacing some spaces with hyphens and vice versa. After a "s/ /-/g", the unpatched and patched versions are identical. Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
59 lines
1.0 KiB
Plaintext
59 lines
1.0 KiB
Plaintext
git-update-server-info(1)
|
|
=========================
|
|
|
|
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 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. 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
|
|
|
|
|
|
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 linkgit:git[1] suite
|