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