X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-clone.txt;h=86eb4c93682aa3d92fe001ae871913fc0dec8607;hb=v1.7.4.1-296-gb57fb80;hp=42e7021215563f146a66d14e1b642d4dbe55bfaf;hpb=b720c75afde3d813588fdfc84f762ef947f5587a;p=git.git diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index 42e702121..86eb4c936 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|-L ] [--depth ] [--recursive|--recurse-submodules] [--] [] @@ -176,6 +177,15 @@ 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) +-L=:: +--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 @@ -236,17 +246,6 @@ $ git clone --bare -l -s /pub/scm/.../torvalds/linux-2.6.git \ /pub/scm/.../me/subsys-2.6.git ------------ - -Author ------- -Written by Linus Torvalds - - -Documentation --------------- -Documentation by Junio C Hamano and the git-list . - - GIT --- Part of the linkgit:git[1] suite