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 | -------- |
| 11 | 'git-update-server-info' [--force] |
| 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 | |
| 25 | -f|--force:: |
| 26 | Update the info files from scratch. |
| 27 | |
| 28 | |
| 29 | OUTPUT |
| 30 | ------ |
| 31 | |
| 32 | Currently the command updates the following files. Please see |
| 33 | link:repository-layout.html[repository-layout] for description |
| 34 | of what they are for: |
| 35 | |
| 36 | * objects/info/packs |
| 37 | |
| 38 | * info/refs |
| 39 | |
| 40 | |
| 41 | BUGS |
| 42 | ---- |
| 43 | When you remove an existing ref, the command fails to update |
| 44 | info/refs file unless `--force` flag is given. |
| 45 | |
| 46 | |
| 47 | Author |
| 48 | ------ |
| 49 | Written by Junio C Hamano <junkio@cox.net> |
| 50 | |
| 51 | Documentation |
| 52 | -------------- |
| 53 | Documentation by Junio C Hamano. |
| 54 | |
| 55 | GIT |
| 56 | --- |
| 57 | Part of the gitlink:git[7] suite |