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