diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-07-06 17:01:58 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-07-06 17:01:58 +0000 |
commit | 330aae6bbe14d97917b66994484cabd0307d1873 (patch) | |
tree | 2aacf2132ef04edb9585efde292183e227ace991 /git-clone.html | |
parent | 28d8ede23f022507f55c91fdc009374fc335cc19 (diff) | |
download | git-htmldocs-330aae6bbe14d97917b66994484cabd0307d1873.tar.gz |
Autogenerated HTML docs for v1.5.3-rc0-39-g46f7
Diffstat (limited to 'git-clone.html')
-rw-r--r-- | git-clone.html | 93 |
1 files changed, 90 insertions, 3 deletions
diff --git a/git-clone.html b/git-clone.html index 93dece946..4c1dcde1d 100644 --- a/git-clone.html +++ b/git-clone.html @@ -431,8 +431,9 @@ configuration variables.</p> </dt>
<dd>
<p>
- The (possibly remote) repository to clone from. It can
- be any URL git-fetch supports.
+ The (possibly remote) repository to clone from. See the
+ <a href="#URLS">URLS</a> section below for more information on specifying
+ repositories.
</p>
</dd>
<dt>
@@ -449,6 +450,92 @@ configuration variables.</p> </dd>
</dl>
</div>
+<h2>GIT URLS<a id="URLS"></a></h2>
+<div class="sectionbody">
+<p>One of the following notations can be used
+to name the remote repository:</p>
+<div class="exampleblock">
+<div class="exampleblock-content">
+<ul>
+<li>
+<p>
+rsync://host.xz/path/to/repo.git/
+</p>
+</li>
+<li>
+<p>
+http://host.xz/path/to/repo.git/
+</p>
+</li>
+<li>
+<p>
+https://host.xz/path/to/repo.git/
+</p>
+</li>
+<li>
+<p>
+git://host.xz/path/to/repo.git/
+</p>
+</li>
+<li>
+<p>
+git://host.xz/~user/path/to/repo.git/
+</p>
+</li>
+<li>
+<p>
+ssh://[user@]host.xz/path/to/repo.git/
+</p>
+</li>
+<li>
+<p>
+ssh://[user@]host.xz/~user/path/to/repo.git/
+</p>
+</li>
+<li>
+<p>
+ssh://[user@]host.xz/~/path/to/repo.git
+</p>
+</li>
+</ul>
+</div></div>
+<p>SSH is the default transport protocol. You can optionally specify
+which user to log-in as, and an alternate, scp-like syntax is also
+supported. Both syntaxes support username expansion,
+as does the native git protocol. The following three are
+identical to the last three above, respectively:</p>
+<div class="exampleblock">
+<div class="exampleblock-content">
+<ul>
+<li>
+<p>
+[user@]host.xz:/path/to/repo.git/
+</p>
+</li>
+<li>
+<p>
+[user@]host.xz:~user/path/to/repo.git/
+</p>
+</li>
+<li>
+<p>
+[user@]host.xz:path/to/repo.git
+</p>
+</li>
+</ul>
+</div></div>
+<p>To sync with a local directory, use:</p>
+<div class="exampleblock">
+<div class="exampleblock-content">
+<ul>
+<li>
+<p>
+/path/to/repo.git/
+</p>
+</li>
+</ul>
+</div></div>
+</div>
<h2>Examples</h2>
<div class="sectionbody">
<dl>
@@ -521,7 +608,7 @@ Create a repository on the kernel.org machine that borrows from Linus </div>
<div id="footer">
<div id="footer-text">
-Last updated 16-Jun-2007 09:48:57 UTC
+Last updated 06-Jul-2007 17:01:29 UTC
</div>
</div>
</body>
|