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