1git-local-fetch(1) 2================== 3 4NAME 5---- 6git-local-fetch - Duplicates another git repository on a local system 7 8 9SYNOPSIS 10-------- 11'git-local-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path 12 13DESCRIPTION 14----------- 15Duplicates another git repository on a local system. 16 17OPTIONS 18------- 19-c:: 20 Get the commit objects. 21-t:: 22 Get trees associated with the commit objects. 23-a:: 24 Get all the objects. 25-v:: 26 Report what is downloaded. 27 28-w <filename>:: 29 Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on 30 the local end after the transfer is complete. 31 32--stdin:: 33 Instead of a commit id on the commandline (which is not expected in this 34 case), 'git-local-fetch' expects lines on stdin in the format 35 36 <commit-id>['\t'<filename-as-in--w>] 37 38Author 39------ 40Written by Junio C Hamano <junkio@cox.net> 41 42Documentation 43-------------- 44Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>. 45 46GIT 47--- 48Part of the gitlink:git[7] suite 49