summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-01 14:31:18 -0700
committerJunio C Hamano <gitster@pobox.com>2013-07-01 14:31:18 -0700
commita195230280e159899bd277641eb24efa7c6d1603 (patch)
tree2b871f83080d996813ed0b6914fe3b88c35f6b08 /git-clone.html
parent1b5a38274423dd3999d7f8d89c77c5a601686166 (diff)
downloadgit-htmldocs-a195230280e159899bd277641eb24efa7c6d1603.tar.gz
Autogenerated HTML docs for v1.8.3.2-701-g8c4e4ec
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html26
1 files changed, 9 insertions, 17 deletions
diff --git a/git-clone.html b/git-clone.html
index b09cd801b..3c8a73fae 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -1102,6 +1102,8 @@ absent.</p></div>
and ftps can be used for fetching and rsync can be used for fetching
and pushing, but these are inefficient and deprecated; do not use
them).</p></div>
+<div class="paragraph"><p>The native transport (i.e. git:// URL) does no authentication and
+should be used with caution on unsecured networks.</p></div>
<div class="paragraph"><p>The following syntaxes may be used with them:</p></div>
<div class="ulist"><ul>
<li>
@@ -1237,8 +1239,8 @@ Clone from upstream:
</p>
<div class="listingblock">
<div class="content">
-<pre><code>$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6
-$ cd my2.6
+<pre><code>$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux
+$ cd my-linux
$ make</code></pre>
</div></div>
</li>
@@ -1259,10 +1261,10 @@ Clone from upstream while borrowing from an existing local directory:
</p>
<div class="listingblock">
<div class="content">
-<pre><code>$ git clone --reference my2.6 \
- git://git.kernel.org/pub/scm/.../linux-2.7 \
- my2.7
-$ cd my2.7</code></pre>
+<pre><code>$ git clone --reference /git/linux.git \
+ git://git.kernel.org/pub/scm/.../linux.git \
+ my-linux
+$ cd my-linux</code></pre>
</div></div>
</li>
<li>
@@ -1274,16 +1276,6 @@ Create a bare repository to publish your changes to the public:
<pre><code>$ git clone --bare -l /home/proj/.git /pub/scm/proj.git</code></pre>
</div></div>
</li>
-<li>
-<p>
-Create a repository on the kernel.org machine that borrows from Linus:
-</p>
-<div class="listingblock">
-<div class="content">
-<pre><code>$ git clone --bare -l -s /pub/scm/.../torvalds/linux-2.6.git \
- /pub/scm/.../me/subsys-2.6.git</code></pre>
-</div></div>
-</li>
</ul></div>
</div>
</div>
@@ -1297,7 +1289,7 @@ Create a repository on the kernel.org machine that borrows from Linus:
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2013-05-17 16:33:07 PDT
+Last updated 2013-07-01 14:29:27 PDT
</div>
</div>
</body>