Anonymous committed f5158a0

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 <>

  • Participants
  • Parent commits d8190a8

Comments (0)

Files changed (1)

File Documentation/git-local-fetch.txt

 	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
+	Verify that everything reachable from target is fetched.  Used after
+	an earlier fetch is interrupted.
 Written by Junio C Hamano <>