133 lines
2.3 KiB
HTML
133 lines
2.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of GIT-HTTP-FETCH</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>GIT-HTTP-FETCH</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-http-fetch - Download from a remote Git repository via HTTP
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
<PRE>
|
|
<I>git http-fetch</I> [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
|
|
</PRE>
|
|
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
Downloads a remote Git repository via HTTP.
|
|
<P>
|
|
This command always gets all objects. Historically, there were three options <B>-a</B>, <B>-c</B> and <B>-t</B> for choosing which objects to download. They are now silently ignored.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
commit-id
|
|
<DL COMPACT><DT id="1"><DD>
|
|
Either the hash or the filename under [URL]/refs/ to pull.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
-a, -c, -t
|
|
<DL COMPACT><DT id="2"><DD>
|
|
These options are ignored for historical reasons.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
-v
|
|
<DL COMPACT><DT id="3"><DD>
|
|
Report what is downloaded.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
-w <filename>
|
|
<DL COMPACT><DT id="4"><DD>
|
|
Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on the local end after the transfer is complete.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
--stdin
|
|
<DL COMPACT><DT id="5"><DD>
|
|
Instead of a commit id on the command line (which is not expected in this case),
|
|
<I>git http-fetch</I>
|
|
expects lines on stdin in the format
|
|
<P>
|
|
<DL COMPACT><DT id="6"><DD>
|
|
|
|
|
|
|
|
<PRE>
|
|
<commit-id>['\t'<filename-as-in--w>]
|
|
</PRE>
|
|
|
|
</DL>
|
|
|
|
|
|
|
|
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
--recover
|
|
<DL COMPACT><DT id="7"><DD>
|
|
Verify that everything reachable from target is fetched. Used after an earlier fetch is interrupted.
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </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="8"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="11"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="12"><A HREF="#lbAF">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:14 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|