1GIT-UPLOAD-PACK(1) Git Manual GIT-UPLOAD-PACK(1)
2
3
4
6 git-upload-pack - Send objects packed back to git-fetch-pack
7
9 git-upload-pack [--[no-]strict] [--timeout=<n>] [--stateless-rpc]
10 [--advertise-refs] <directory>
11
12
14 Invoked by git fetch-pack, learns what objects the other side is
15 missing, and sends them after packing.
16
17 This command is usually not invoked directly by the end user. The UI
18 for the protocol is on the git fetch-pack side, and the program pair is
19 meant to be used to pull updates from a remote repository. For push
20 operations, see git send-pack.
21
23 --[no-]strict
24 Do not try <directory>/.git/ if <directory> is no Git directory.
25
26 --timeout=<n>
27 Interrupt transfer after <n> seconds of inactivity.
28
29 --stateless-rpc
30 Perform only a single read-write cycle with stdin and stdout. This
31 fits with the HTTP POST request processing model where a program
32 may read the request, write a response, and must exit.
33
34 --advertise-refs
35 Only the initial ref advertisement is output, and the program exits
36 immediately. This fits with the HTTP GET request model, where no
37 request content is received but a response must be produced.
38
39 <directory>
40 The repository to sync from.
41
43 gitnamespaces(7)
44
46 Part of the git(1) suite
47
48
49
50Git 2.24.1 12/10/2019 GIT-UPLOAD-PACK(1)