summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2006-01-15 02:13:49 -0800
committerJunio C Hamano <junio@hera.kernel.org>2006-01-15 02:13:49 -0800
commit38064d53dc73697ccaf6b40a499ac535621354c7 (patch)
treed9f51d73d6f6f1a7584592f868565fec69098041 /git-clone.html
parent74e8a2d5f3bf4da5598f5a78350efadaddb810b8 (diff)
downloadgit-htmldocs-38064d53dc73697ccaf6b40a499ac535621354c7.tar.gz
Autogenerated HTML docs for v1.1.2-gd425
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html34
1 files changed, 32 insertions, 2 deletions
diff --git a/git-clone.html b/git-clone.html
index 3be22fdde..eade541c2 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -273,7 +273,7 @@ git-clone(1) Manual Page
<h2>SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<div class="content"><em>git-clone</em> [-l [-s]] [-q] [-n] [-o &lt;name&gt;] [-u &lt;upload-pack&gt;]
+<div class="content"><em>git-clone</em> [-l [-s]] [-q] [-n] [--naked] [-o &lt;name&gt;] [-u &lt;upload-pack&gt;]
&lt;repository&gt; [&lt;directory&gt;]</div></div>
</div>
<h2>DESCRIPTION</h2>
@@ -349,6 +349,17 @@ branch you are currently working on. Remote branches other than
</p>
</dd>
<dt>
+--naked
+</dt>
+<dd>
+<p>
+ Make a <em>naked</em> GIT repository. That is, instead of
+ creating <tt>&lt;directory&gt;</tt> and placing the administrative
+ files in <tt>&lt;directory&gt;/.git</tt>, make the <tt>&lt;directory&gt;</tt>
+ itself the <tt>$GIT_DIR</tt>. This implies <tt>-n</tt> option.
+</p>
+</dd>
+<dt>
-o &lt;name&gt;
</dt>
<dd>
@@ -420,6 +431,25 @@ $ cd copy
$ git show-branch</tt></pre>
</div></div>
</dd>
+<dt>
+Create a naked repository to publish your changes to the public
+</dt>
+<dd>
+<div class="listingblock">
+<div class="content">
+<pre><tt>$ git clone --naked -l /home/proj/.git /pub/scm/proj.git</tt></pre>
+</div></div>
+</dd>
+<dt>
+Create a repository on the kernel.org machine that borrows from Linus
+</dt>
+<dd>
+<div class="listingblock">
+<div class="content">
+<pre><tt>$ git clone --naked -l -s /pub/scm/.../torvalds/linux-2.6.git \
+ /pub/scm/.../me/subsys-2.6.git</tt></pre>
+</div></div>
+</dd>
</dl>
</div>
<h2>Author</h2>
@@ -436,7 +466,7 @@ $ git show-branch</tt></pre>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 06-Jan-2006 17:12:09 PDT
+Last updated 15-Jan-2006 02:13:28 PDT
</div>
</div>
</body>