2005-07-14 09:08:37 +02:00
|
|
|
git-upload-pack(1)
|
|
|
|
==================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2007-01-19 00:53:37 +01:00
|
|
|
git-upload-pack - Send objects packed back to git-fetch-pack
|
2005-07-14 09:08:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 04:38:26 +02:00
|
|
|
[verse]
|
2016-05-31 11:57:08 +02:00
|
|
|
'git-upload-pack' [--[no-]strict] [--timeout=<n>] [--stateless-rpc]
|
|
|
|
[--advertise-refs] <directory>
|
2018-10-22 22:45:43 +02:00
|
|
|
|
2005-07-14 09:08:37 +02:00
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2010-01-10 00:33:00 +01:00
|
|
|
Invoked by 'git fetch-pack', learns what
|
2005-07-14 09:08:37 +02: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 00:33:00 +01:00
|
|
|
The UI for the protocol is on the 'git fetch-pack' side, and the
|
2005-07-14 09:08:37 +02:00
|
|
|
program pair is meant to be used to pull updates from a remote
|
2010-01-10 00:33:00 +01:00
|
|
|
repository. For push operations, see 'git send-pack'.
|
2005-07-14 09:08:37 +02:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2007-02-20 03:01:44 +01:00
|
|
|
|
2016-05-31 11:57:08 +02:00
|
|
|
--[no-]strict::
|
2013-01-21 20:17:53 +01:00
|
|
|
Do not try <directory>/.git/ if <directory> is no Git directory.
|
2007-02-20 03:01:44 +01:00
|
|
|
|
2008-06-08 03:36:09 +02:00
|
|
|
--timeout=<n>::
|
2007-02-20 03:01:44 +01:00
|
|
|
Interrupt transfer after <n> seconds of inactivity.
|
|
|
|
|
2016-05-31 11:57:08 +02: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 09:08:37 +02:00
|
|
|
<directory>::
|
|
|
|
The repository to sync from.
|
|
|
|
|
2011-07-09 01:14:10 +02:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
linkgit:gitnamespaces[7]
|
|
|
|
|
2005-07-14 09:08:37 +02:00
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 09:07:32 +02:00
|
|
|
Part of the linkgit:git[1] suite
|