117 lines
2.6 KiB
HTML
117 lines
2.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of GIT-UPLOAD-PACK</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>GIT-UPLOAD-PACK</H1>
|
|
Section: Git Manual (1)<BR>Updated: 03/04/2021<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
git-upload-pack - Send objects packed back to git-fetch-pack
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
<PRE>
|
|
<I>git-upload-pack</I> [--[no-]strict] [--timeout=<n>] [--stateless-rpc]
|
|
[--advertise-refs] <directory>
|
|
</PRE>
|
|
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
Invoked by <I>git fetch-pack</I>, learns what objects the other side is missing, and sends them after packing.
|
|
<P>
|
|
This command is usually not invoked directly by the end user. The UI for the protocol is on the <I>git fetch-pack</I> side, and the program pair is meant to be used to pull updates from a remote repository. For push operations, see <I>git send-pack</I>.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
--[no-]strict
|
|
<DL COMPACT><DT id="1"><DD>
|
|
Do not try <directory>/.git/ if <directory> is no Git directory.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
--timeout=<n>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
Interrupt transfer after <n> seconds of inactivity.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
--stateless-rpc
|
|
<DL COMPACT><DT id="3"><DD>
|
|
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.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
--advertise-refs
|
|
<DL COMPACT><DT id="4"><DD>
|
|
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.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<directory>
|
|
<DL COMPACT><DT id="5"><DD>
|
|
The repository to sync from.
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
<B><A HREF="/cgi-bin/man/man2html?7+gitnamespaces">gitnamespaces</A></B>(7)
|
|
<A NAME="lbAG"> </A>
|
|
<H2>GIT</H2>
|
|
|
|
<P>
|
|
Part of the <B><A HREF="/cgi-bin/man/man2html?1+git">git</A></B>(1) suite
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="6"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="7"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="8"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="9"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="10"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="11"><A HREF="#lbAG">GIT</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:15 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|