<div class="sectionbody">\r
<div class="verseblock">\r
<div class="content"><em>git clone</em> [--template=<template_directory>]\r
- [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare]\r
+ [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\r
[-o <name>] [-u <upload-pack>] [--reference <repository>]\r
[--depth <depth>] [--] <repository> [<directory>]</div></div>\r
</div>\r
</p>\r
</dd>\r
<dt>\r
+--mirror\r
+</dt>\r
+<dd>\r
+<p>\r
+ Set up a mirror of the remote repository. This implies --bare.\r
+</p>\r
+</dd>\r
+<dt>\r
--origin <name>\r
</dt>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 2008-07-26 06:45:37 UTC\r
+Last updated 2008-08-03 07:58:01 UTC\r
</div>\r
</div>\r
</body>\r
--------
[verse]
'git clone' [--template=<template_directory>]
- [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare]
+ [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]
[-o <name>] [-u <upload-pack>] [--reference <repository>]
[--depth <depth>] [--] <repository> [<directory>]
used, neither remote-tracking branches nor the related
configuration variables are created.
+--mirror::
+ Set up a mirror of the remote repository. This implies --bare.
+
--origin <name>::
-o <name>::
Instead of using the remote name 'origin' to keep track
Instead of printing both the SHA-1 and the name, print only\r
the name. If given with --tags the usual tag prefix of\r
"tags/" is also omitted from the name, matching the output\r
- of <em>git-describe</em> more closely. This option\r
- cannot be combined with --stdin.\r
+ of <tt>git-describe</tt> more closely.\r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 2008-07-06 05:16:54 UTC\r
+Last updated 2008-08-03 07:58:01 UTC\r
</div>\r
</div>\r
</body>\r
Instead of printing both the SHA-1 and the name, print only
the name. If given with --tags the usual tag prefix of
"tags/" is also omitted from the name, matching the output
- of 'git-describe' more closely. This option
- cannot be combined with --stdin.
+ of `git-describe` more closely.
--no-undefined::
Die with error code != 0 when a reference is undefined,
<h2 id="_see_also">SEE ALSO</h2>\r
<div class="sectionbody">\r
<div class="para"><p><a href="gittutorial.html">gittutorial(7)</a>, <a href="gittutorial-2.html">gittutorial-2(7)</a>,\r
-<a href="everyday.html">everyday(7)</a>, <a href="gitcvs-migration.html">gitcvs-migration(7)</a>,\r
+<a href="everyday.html">Everyday Git</a>, <a href="gitcvs-migration.html">gitcvs-migration(7)</a>,\r
<a href="gitglossary.html">gitglossary(7)</a>, <a href="gitcore-tutorial.html">gitcore-tutorial(7)</a>,\r
<a href="gitcli.html">gitcli(7)</a>, <a href="user-manual.html">The Git User's Manual</a></p></div>\r
</div>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 2008-07-20 01:23:36 UTC\r
+Last updated 2008-08-03 07:58:01 UTC\r
</div>\r
</div>\r
</body>\r
SEE ALSO
--------
linkgit:gittutorial[7], linkgit:gittutorial-2[7],
-linkgit:everyday[7], linkgit:gitcvs-migration[7],
+link:everyday.html[Everyday Git], linkgit:gitcvs-migration[7],
linkgit:gitglossary[7], linkgit:gitcore-tutorial[7],
linkgit:gitcli[7], link:user-manual.html[The Git User's Manual]