2005-09-08 02:26:23 +02:00
|
|
|
git-local-fetch(1)
|
|
|
|
==================
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2007-01-19 00:53:37 +01:00
|
|
|
git-local-fetch - Duplicate another git repository on a local system
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2007-05-18 15:39:34 +02:00
|
|
|
[verse]
|
|
|
|
'git-local-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n]
|
|
|
|
commit-id path
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-10-11 01:01:31 +02:00
|
|
|
Duplicates another git repository on a local system.
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-c::
|
|
|
|
Get the commit objects.
|
|
|
|
-t::
|
|
|
|
Get trees associated with the commit objects.
|
|
|
|
-a::
|
|
|
|
Get all the objects.
|
|
|
|
-v::
|
|
|
|
Report what is downloaded.
|
2007-04-27 06:59:01 +02:00
|
|
|
-s::
|
|
|
|
Instead of regular file-to-file copying use symbolic links to the objects
|
|
|
|
in the remote repository.
|
|
|
|
-l::
|
|
|
|
Before attempting symlinks (if -s is specified) or file-to-file copying the
|
|
|
|
remote objects, try to hardlink the remote objects into the local
|
|
|
|
repository.
|
|
|
|
-n::
|
|
|
|
Never attempt to file-to-file copy remote objects. Only useful with
|
|
|
|
-s or -l command-line options.
|
2005-08-05 17:05:02 +02:00
|
|
|
|
|
|
|
-w <filename>::
|
|
|
|
Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
|
2005-06-22 10:52:06 +02:00
|
|
|
the local end after the transfer is complete.
|
2005-05-10 23:32:30 +02:00
|
|
|
|
2006-07-27 23:56:19 +02:00
|
|
|
--stdin::
|
|
|
|
Instead of a commit id on the commandline (which is not expected in this
|
|
|
|
case), 'git-local-fetch' expects lines on stdin in the format
|
|
|
|
|
|
|
|
<commit-id>['\t'<filename-as-in--w>]
|
|
|
|
|
2007-04-27 06:59:01 +02:00
|
|
|
--recover::
|
|
|
|
Verify that everything reachable from target is fetched. Used after
|
|
|
|
an earlier fetch is interrupted.
|
|
|
|
|
2005-05-10 23:32:30 +02:00
|
|
|
Author
|
|
|
|
------
|
2005-06-22 10:52:06 +02:00
|
|
|
Written by Junio C Hamano <junkio@cox.net>
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2005-09-19 12:10:51 +02:00
|
|
|
Part of the gitlink:git[7] suite
|
2005-05-10 23:32:30 +02:00
|
|
|
|