X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-clone.txt;h=b093e45497248076c335391f3e95b6384520ef6b;hb=5e82123197229d823a5838126dce20f33f82fe27;hp=8577480074d84fe213cc6fd16486a1fa92c3e08a;hpb=3ed8868474b6309304696a15a1bec184ea235750;p=git.git diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index 857748007..b093e4549 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -12,6 +12,7 @@ SYNOPSIS 'git clone' [--template=] [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror] [-o ] [-b ] [-u ] [--reference ] + [--separate-git-dir ] [--depth ] [--recursive|--recurse-submodules] [--] [] @@ -176,6 +177,14 @@ objects from the source repository into a pack in the cloned repository. repository does not have a worktree/checkout (i.e. if any of `--no-checkout`/`-n`, `--bare`, or `--mirror` is given) +--separate-git-dir=:: + Instead of placing the cloned repository where it is supposed + to be, place the cloned repository at the specified directory, + then make a filesytem-agnostic git symbolic link to there. + The result is git repository can be separated from working + tree. + + :: The (possibly remote) repository to clone from. See the <> section below for more information on specifying