summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-05-16 13:30:56 +0900
committerJunio C Hamano <gitster@pobox.com>2017-05-16 13:30:56 +0900
commitd5176901f5976e3785f89ec1db1081d43ddfe110 (patch)
tree17fd99897d6726d424cedd1166a8301b77b34bbc /git-clone.html
parent919d24f4f64cc04a733a4e52066053944d3992b4 (diff)
downloadgit-htmldocs-d5176901f5976e3785f89ec1db1081d43ddfe110.tar.gz
Autogenerated HTML docs for v2.13.0-67-g10c78
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html20
1 files changed, 18 insertions, 2 deletions
diff --git a/git-clone.html b/git-clone.html
index 0d6e06c6a..ed9be59bf 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -752,7 +752,7 @@ git-clone(1) Manual Page
[-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]
[-o &lt;name&gt;] [-b &lt;name&gt;] [-u &lt;upload-pack&gt;] [--reference &lt;repository&gt;]
[--dissociate] [--separate-git-dir &lt;git dir&gt;]
- [--depth &lt;depth&gt;] [--[no-]single-branch]
+ [--depth &lt;depth&gt;] [--[no-]single-branch] [--no-tags]
[--recurse-submodules] [--[no-]shallow-submodules]
[--jobs &lt;n&gt;] [--] &lt;repository&gt; [&lt;directory&gt;]</pre>
<div class="attribution">
@@ -1071,6 +1071,22 @@ objects from the source repository into a pack in the cloned repository.</p></di
</p>
</dd>
<dt class="hdlist1">
+--no-tags
+</dt>
+<dd>
+<p>
+ Don&#8217;t clone any tags, and set
+ <code>remote.&lt;remote&gt;.tagOpt=--no-tags</code> in the config, ensuring
+ that future <code>git pull</code> and <code>git fetch</code> operations won&#8217;t follow
+ any tags. Subsequent explicit tag fetches will still work,
+ (see <a href="git-fetch.html">git-fetch(1)</a>).
+</p>
+<div class="paragraph"><p>Can be used in conjunction with <code>--single-branch</code> to clone and
+maintain a branch with no references other than a single cloned
+branch. This is useful e.g. to maintain minimal clones of the default
+branch of some repository for search indexing.</p></div>
+</dd>
+<dt class="hdlist1">
--recurse-submodules[=&lt;pathspec]
</dt>
<dd>
@@ -1337,7 +1353,7 @@ Create a bare repository to publish your changes to the public:
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2017-03-31 08:00:02 JST
+Last updated 2017-05-16 13:30:41 JST
</div>
</div>
</body>