X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-clone.txt;h=7d713c73858e1c786d61ec1359241c658ef012b4;hb=79a9d8ea0d88a3667ad19be8e705405ab5d896f1;hp=bd53ef430dd83adc8f0940fe130ced3fe1693ab0;hpb=dbc37438687e110697574d175e4eca5f9cbeae81;p=git.git diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index bd53ef43..7d713c73 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -9,7 +9,7 @@ git-clone - Clones a repository. SYNOPSIS -------- -'git clone' [-l] [-u ] [-q] +'git clone' [-l [-s]] [-q] [-n] [-u ] DESCRIPTION ----------- @@ -17,6 +17,7 @@ Clones a repository into a newly created directory. OPTIONS ------- +--local:: -l:: When the repository to clone from is on a local machine, this flag bypasses normal "git aware" transport @@ -25,10 +26,22 @@ OPTIONS The files under .git/objects/ directory are hardlinked to save space when possible. +--shared:: +-s:: + When the repository to clone is on the local machine, + instead of using hard links automatically setup + .git/objects/info/alternatives to share the objects + with the source repository + +--quiet:: -q:: Operate quietly. This flag is passed to "rsync" and "git-clone-pack" commands when given. +-n:: + No checkout of HEAD is performed after the clone is complete. + +--upload-pack :: -u :: When given, and the repository to clone from is handled by 'git-clone-pack', '--exec=' is passed to