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 | 15567bc | 2011-07-23 00:51:59 | [diff] [blame] | 11 | [verse] |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 12 | 'git-upload-pack' [--strict] [--timeout=<n>] <directory> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 13 | |
14 | DESCRIPTION | ||||
15 | ----------- | ||||
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 16 | Invoked by 'git fetch-pack', learns what |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 17 | objects the other side is missing, and sends them after packing. |
18 | |||||
19 | This command is usually not invoked directly by the end user. | ||||
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 20 | 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] | 21 | 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] | 22 | repository. For push operations, see 'git send-pack'. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 23 | |
24 | |||||
25 | OPTIONS | ||||
26 | ------- | ||||
Junio C Hamano | aa83a7d | 2007-03-05 02:37:29 | [diff] [blame] | 27 | |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 28 | --strict:: |
Junio C Hamano | aa83a7d | 2007-03-05 02:37:29 | [diff] [blame] | 29 | Do not try <directory>/.git/ if <directory> is no git directory. |
30 | |||||
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 31 | --timeout=<n>:: |
Junio C Hamano | aa83a7d | 2007-03-05 02:37:29 | [diff] [blame] | 32 | Interrupt transfer after <n> seconds of inactivity. |
33 | |||||
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 34 | <directory>:: |
35 | The repository to sync from. | ||||
36 | |||||
Junio C Hamano | f727901 | 2011-08-18 06:13:13 | [diff] [blame] | 37 | SEE ALSO |
38 | -------- | ||||
39 | linkgit:gitnamespaces[7] | ||||
40 | |||||
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 41 | GIT |
42 | --- | ||||
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 43 | Part of the linkgit:git[1] suite |