Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | git-upload-pack(1) |
| 2 | ================== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 6 | git-upload-pack - Send objects packed back to git-fetch-pack |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 11 | 'git-upload-pack' [--strict] [--timeout=<n>] <directory> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 12 | |
| 13 | DESCRIPTION |
| 14 | ----------- |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 15 | Invoked by 'git fetch-pack', learns what |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 16 | objects the other side is missing, and sends them after packing. |
| 17 | |
| 18 | This command is usually not invoked directly by the end user. |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 19 | The UI for the protocol is on the 'git fetch-pack' side, and the |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 20 | program pair is meant to be used to pull updates from a remote |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 21 | repository. For push operations, see 'git send-pack'. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 22 | |
| 23 | |
| 24 | OPTIONS |
| 25 | ------- |
Junio C Hamano | aa83a7d | 2007-03-05 02:37:29 | [diff] [blame] | 26 | |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 27 | --strict:: |
Junio C Hamano | aa83a7d | 2007-03-05 02:37:29 | [diff] [blame] | 28 | Do not try <directory>/.git/ if <directory> is no git directory. |
| 29 | |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 30 | --timeout=<n>:: |
Junio C Hamano | aa83a7d | 2007-03-05 02:37:29 | [diff] [blame] | 31 | Interrupt transfer after <n> seconds of inactivity. |
| 32 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 33 | <directory>:: |
| 34 | The repository to sync from. |
| 35 | |
| 36 | Author |
| 37 | ------ |
| 38 | Written by Linus Torvalds <torvalds@osdl.org> |
| 39 | |
| 40 | Documentation |
| 41 | -------------- |
| 42 | Documentation by Junio C Hamano. |
| 43 | |
| 44 | GIT |
| 45 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 46 | Part of the linkgit:git[1] suite |