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 | 15567bc | 2011-07-23 00:51:59 | [diff] [blame] | 11 | [verse] |
Junio C Hamano | cf9c773 | 2022-10-28 18:56:06 | [diff] [blame] | 12 | 'git update-server-info' [-f | --force] |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 13 | |
| 14 | DESCRIPTION |
| 15 | ----------- |
| 16 | A dumb server that does not do on-the-fly pack generations must |
| 17 | have some auxiliary information files in $GIT_DIR/info and |
| 18 | $GIT_OBJECT_DIRECTORY/info directories to help clients discover |
| 19 | what references and packs the server has. This command |
| 20 | generates such auxiliary files. |
| 21 | |
Junio C Hamano | cf9c773 | 2022-10-28 18:56:06 | [diff] [blame] | 22 | OPTIONS |
| 23 | ------- |
| 24 | -f:: |
| 25 | --force:: |
Junio C Hamano | 33be821 | 2023-10-23 21:45:54 | [diff] [blame] | 26 | Update the info files from scratch. |
Junio C Hamano | cf9c773 | 2022-10-28 18:56:06 | [diff] [blame] | 27 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 28 | OUTPUT |
| 29 | ------ |
| 30 | |
| 31 | Currently the command updates the following files. Please see |
Junio C Hamano | 33be821 | 2023-10-23 21:45:54 | [diff] [blame] | 32 | linkgit:gitrepository-layout[5] for a description of |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 33 | what they are for: |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 34 | |
| 35 | * objects/info/packs |
| 36 | |
| 37 | * info/refs |
| 38 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 39 | GIT |
| 40 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 41 | Part of the linkgit:git[1] suite |