Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 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 | -------- |
Junio C Hamano | fce7c7e | 2008-07-02 03:06:38 | [diff] [blame] | 11 | 'git update-server-info' [--force] |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 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 | |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 25 | -f:: |
| 26 | --force:: |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 27 | Update the info files from scratch. |
| 28 | |
| 29 | |
| 30 | OUTPUT |
| 31 | ------ |
| 32 | |
| 33 | Currently the command updates the following files. Please see |
Junio C Hamano | fce7c7e | 2008-07-02 03:06:38 | [diff] [blame] | 34 | linkgit:gitrepository-layout[5] for description of |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 35 | what they are for: |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 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 | ------ |
Junio C Hamano | 0868a30 | 2008-07-22 09:20:44 | [diff] [blame] | 50 | Written by Junio C Hamano <gitster@pobox.com> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 51 | |
| 52 | Documentation |
| 53 | -------------- |
| 54 | Documentation by Junio C Hamano. |
| 55 | |
| 56 | GIT |
| 57 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 58 | Part of the linkgit:git[1] suite |