summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e502c2c)
raw | patch | inline | side by side (parent: e502c2c)
author | Sergei Organov <osv@javad.com> | |
Fri, 16 Nov 2007 18:43:16 +0000 (21:43 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 17 Nov 2007 08:57:05 +0000 (00:57 -0800) |
Signed-off-by: Sergei Organov <osv@javad.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-clone.txt | patch | blob | history | |
Documentation/urls.txt | patch | blob | history |
index 14e58f3866e3a4e7d1da01753cb68082e88ae2f6..c90bcece24c0fcbf9513af7808f6d0d13846c528 100644 (file)
for "host.xz:foo/.git"). Cloning into an existing directory
is not allowed.
+:git-clone: 1
include::urls.txt[]
Examples
diff --git a/Documentation/urls.txt b/Documentation/urls.txt
index e67f9140ab6be15499b60a8a87ec524a5357a284..4f667382ec1b3a93871c8b2beb31111278ec27b8 100644 (file)
--- a/Documentation/urls.txt
+++ b/Documentation/urls.txt
- file:///path/to/repo.git/
===============================================================
+ifndef::git-clone[]
They are mostly equivalent, except when cloning. See
gitlink:git-clone[1] for details.
+endif::git-clone[]
+
+ifdef::git-clone[]
+They are equivalent, except the former implies --local option.
+endif::git-clone[]