]>
Commit | Line | Data |
---|---|---|
8b3d9dc0 JH |
1 | git-upload-pack(1) |
2 | ================== | |
8b3d9dc0 JH |
3 | |
4 | NAME | |
5 | ---- | |
c3f0baac | 6 | git-upload-pack - Send objects packed back to git-fetch-pack |
8b3d9dc0 JH |
7 | |
8 | ||
9 | SYNOPSIS | |
10 | -------- | |
7791a1d9 | 11 | [verse] |
9812f213 AQ |
12 | 'git-upload-pack' [--[no-]strict] [--timeout=<n>] [--stateless-rpc] |
13 | [--advertise-refs] <directory> | |
ad471949 | 14 | |
8b3d9dc0 JH |
15 | DESCRIPTION |
16 | ----------- | |
0b444cdb | 17 | Invoked by 'git fetch-pack', learns what |
8b3d9dc0 JH |
18 | objects the other side is missing, and sends them after packing. |
19 | ||
20 | This command is usually not invoked directly by the end user. | |
0b444cdb | 21 | The UI for the protocol is on the 'git fetch-pack' side, and the |
8b3d9dc0 | 22 | program pair is meant to be used to pull updates from a remote |
0b444cdb | 23 | repository. For push operations, see 'git send-pack'. |
8b3d9dc0 JH |
24 | |
25 | ||
26 | OPTIONS | |
27 | ------- | |
83a5ad61 | 28 | |
9812f213 | 29 | --[no-]strict:: |
2de9b711 | 30 | Do not try <directory>/.git/ if <directory> is no Git directory. |
83a5ad61 | 31 | |
3240240f | 32 | --timeout=<n>:: |
83a5ad61 JS |
33 | Interrupt transfer after <n> seconds of inactivity. |
34 | ||
9812f213 AQ |
35 | --stateless-rpc:: |
36 | Perform only a single read-write cycle with stdin and stdout. | |
37 | This fits with the HTTP POST request processing model where | |
38 | a program may read the request, write a response, and must exit. | |
39 | ||
40 | --advertise-refs:: | |
41 | Only the initial ref advertisement is output, and the program exits | |
42 | immediately. This fits with the HTTP GET request model, where | |
43 | no request content is received but a response must be produced. | |
44 | ||
8b3d9dc0 JH |
45 | <directory>:: |
46 | The repository to sync from. | |
47 | ||
d49483f0 JT |
48 | SEE ALSO |
49 | -------- | |
50 | linkgit:gitnamespaces[7] | |
51 | ||
8b3d9dc0 JH |
52 | GIT |
53 | --- | |
9e1f0a85 | 54 | Part of the linkgit:git[1] suite |