2 .\" Title: git-upload-pack
3 .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
7 .\" Source: Git 2.44.0.368.gc75fd8d815
10 .TH "GIT\-UPLOAD\-PACK" "1" "2024\-03\-25" "Git 2\&.44\&.0\&.368\&.gc75fd8" "Git Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 git-upload-pack \- Send objects packed back to git\-fetch\-pack
35 \fIgit\-upload\-pack\fR [\-\-[no\-]strict] [\-\-timeout=<n>] [\-\-stateless\-rpc]
36 [\-\-advertise\-refs] <directory>
41 Invoked by \fIgit fetch\-pack\fR, learns what objects the other side is missing, and sends them after packing\&.
43 This command is usually not invoked directly by the end user\&. The UI for the protocol is on the \fIgit fetch\-pack\fR side, and the program pair is meant to be used to pull updates from a remote repository\&. For push operations, see \fIgit send\-pack\fR\&.
48 Do not try <directory>/\&.git/ if <directory> is not a Git directory\&.
53 Interrupt transfer after <n> seconds of inactivity\&.
58 Perform only a single read\-write cycle with stdin and stdout\&. This fits with the HTTP POST request processing model where a program may read the request, write a response, and must exit\&.
61 \-\-http\-backend\-info\-refs
64 \fBgit-http-backend\fR(1)
66 \fB$GIT_URL/info/refs?service=git\-upload\-pack\fR
67 requests\&. See "Smart Clients" in
68 \fBgitprotocol-http\fR(5)
69 and "HTTP Transport" in the
70 \fBgitprotocol-v2\fR(5)
71 documentation\&. Also understood by
72 \fBgit-receive-pack\fR(1)\&.
77 The repository to sync from\&.
83 Internal variable used for handshaking the wire protocol\&. Server admins may need to configure some transports to allow this variable to be passed\&. See the discussion in
88 \fBgitnamespaces\fR(7)
91 Part of the \fBgit\fR(1) suite