X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-clone.html;h=6ade3cbc8a931a9b6522317358f9c9e347de57a8;hb=04a32861b324bccf6dc0602f414825cab4eeca78;hp=f83caa1878c5cd33dd274e2ac3e8eb9c64152ed0;hpb=1a4e841b439ba014b365999c3a6b9e2be3740bd8;p=git.git diff --git a/git-clone.html b/git-clone.html index f83caa18..6ade3cbc 100644 --- a/git-clone.html +++ b/git-clone.html @@ -272,7 +272,9 @@ git-clone(1) Manual Page
git-clone [-l [-s]] [-q] [-n] [-o <name>] [-u <upload-pack>] <repository> [<directory>]
++ Make a bare GIT repository. That is, instead of + creating <directory> and placing the administrative + files in <directory>/.git, make the <directory> + itself the $GIT_DIR. This implies -n option. When + this option is used, neither the origin branch nor the + default remotes/origin file is created. +
+$ git clone --bare -l /home/proj/.git /pub/scm/proj.git+
$ git clone --bare -l -s /pub/scm/.../torvalds/linux-2.6.git \ + /pub/scm/.../me/subsys-2.6.git+