path: root/Documentation/git-local-fetch.txt
diff options
authorAndrew Ruder <>2007-04-27 04:59:01 (GMT)
committerJunio C Hamano <>2007-04-27 05:43:10 (GMT)
commitf5158a07d26b957f700dc6cc4fdb5a693a1314b3 (patch)
tree1df0d670355b618d91317e1e7df4fb3af1023a57 /Documentation/git-local-fetch.txt
parentd8190a8ec86bc9c75cd85352b0a186991c70a5bb (diff)
Update git-local-fetch documentation
Documentation/git-local-fetch.txt: -s to use symbolic links instead of file-to-file copy, -l to use hardlinks, -n to never use file-to-file copies, --recover to resume a failed fetch. Signed-off-by: Andrew Ruder <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-local-fetch.txt')
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/git-local-fetch.txt b/Documentation/git-local-fetch.txt
index 22048d8..dd9e238 100644
--- a/Documentation/git-local-fetch.txt
+++ b/Documentation/git-local-fetch.txt
@@ -24,6 +24,16 @@ OPTIONS
Get all the objects.
Report what is downloaded.
+ Instead of regular file-to-file copying use symbolic links to the objects
+ in the remote repository.
+ 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.
+ Never attempt to file-to-file copy remote objects. Only useful with
+ -s or -l command-line options.
-w <filename>::
Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
@@ -35,6 +45,10 @@ OPTIONS
+ Verify that everything reachable from target is fetched. Used after
+ an earlier fetch is interrupted.
Written by Junio C Hamano <>