</div>\r
<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
-<p><em>git-clone</em> [-l [-s]] [-q] [-n] [-o <name>] [-u <upload-pack>] <repository> [<directory>]</p>\r
+<div class="verseblock">\r
+<div class="content"><em>git-clone</em> [-l [-s]] [-q] [-n] [--bare] [-o <name>] [-u <upload-pack>]\r
+ <repository> [<directory>]</div></div>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
</p>\r
</dd>\r
<dt>\r
+--bare\r
+</dt>\r
+<dd>\r
+<p>\r
+ Make a <em>bare</em> GIT repository. That is, instead of\r
+ creating <tt><directory></tt> and placing the administrative\r
+ files in <tt><directory>/.git</tt>, make the <tt><directory></tt>\r
+ itself the <tt>$GIT_DIR</tt>. This implies <tt>-n</tt> option. When\r
+ this option is used, neither the <tt>origin</tt> branch nor the\r
+ default <tt>remotes/origin</tt> file is created.\r
+</p>\r
+</dd>\r
+<dt>\r
-o <name>\r
</dt>\r
<dd>\r
$ git show-branch</tt></pre>\r
</div></div>\r
</dd>\r
+<dt>\r
+Create a bare repository to publish your changes to the public\r
+</dt>\r
+<dd>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ git clone --bare -l /home/proj/.git /pub/scm/proj.git</tt></pre>\r
+</div></div>\r
+</dd>\r
+<dt>\r
+Create a repository on the kernel.org machine that borrows from Linus\r
+</dt>\r
+<dd>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ git clone --bare -l -s /pub/scm/.../torvalds/linux-2.6.git \\r
+ /pub/scm/.../me/subsys-2.6.git</tt></pre>\r
+</div></div>\r
+</dd>\r
</dl>\r
</div>\r
<h2>Author</h2>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 27-Dec-2005 00:15:54 PDT\r
+Last updated 25-Jan-2006 04:37:11 PDT\r
</div>\r
</div>\r
</body>\r