2005-07-14 11:08:37 +04:00
|
|
|
git-upload-pack(1)
|
|
|
|
==================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2007-01-19 02:53:37 +03:00
|
|
|
git-upload-pack - Send objects packed back to git-fetch-pack
|
2005-07-14 11:08:37 +04:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 06:38:26 +04:00
|
|
|
[verse]
|
2016-05-31 12:57:08 +03:00
|
|
|
'git-upload-pack' [--[no-]strict] [--timeout=<n>] [--stateless-rpc]
|
|
|
|
[--advertise-refs] <directory>
|
2018-10-22 23:45:43 +03:00
|
|
|
|
2005-07-14 11:08:37 +04:00
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2010-01-10 02:33:00 +03:00
|
|
|
Invoked by 'git fetch-pack', learns what
|
2005-07-14 11:08:37 +04:00
|
|
|
objects the other side is missing, and sends them after packing.
|
|
|
|
|
|
|
|
This command is usually not invoked directly by the end user.
|
2010-01-10 02:33:00 +03:00
|
|
|
The UI for the protocol is on the 'git fetch-pack' side, and the
|
2005-07-14 11:08:37 +04:00
|
|
|
program pair is meant to be used to pull updates from a remote
|
2010-01-10 02:33:00 +03:00
|
|
|
repository. For push operations, see 'git send-pack'.
|
2005-07-14 11:08:37 +04:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2007-02-20 05:01:44 +03:00
|
|
|
|
2016-05-31 12:57:08 +03:00
|
|
|
--[no-]strict::
|
2013-01-21 23:17:53 +04:00
|
|
|
Do not try <directory>/.git/ if <directory> is no Git directory.
|
2007-02-20 05:01:44 +03:00
|
|
|
|
2008-06-08 05:36:09 +04:00
|
|
|
--timeout=<n>::
|
2007-02-20 05:01:44 +03:00
|
|
|
Interrupt transfer after <n> seconds of inactivity.
|
|
|
|
|
2016-05-31 12:57:08 +03:00
|
|
|
--stateless-rpc::
|
|
|
|
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.
|
|
|
|
|
|
|
|
--advertise-refs::
|
|
|
|
Only the initial ref advertisement is output, and the program exits
|
|
|
|
immediately. This fits with the HTTP GET request model, where
|
|
|
|
no request content is received but a response must be produced.
|
|
|
|
|
2005-07-14 11:08:37 +04:00
|
|
|
<directory>::
|
|
|
|
The repository to sync from.
|
|
|
|
|
2011-07-09 03:14:10 +04:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
linkgit:gitnamespaces[7]
|
|
|
|
|
2005-07-14 11:08:37 +04:00
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 11:07:32 +04:00
|
|
|
Part of the linkgit:git[1] suite
|