diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-05-16 13:30:56 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-16 13:30:56 +0900 |
commit | d5176901f5976e3785f89ec1db1081d43ddfe110 (patch) | |
tree | 17fd99897d6726d424cedd1166a8301b77b34bbc /git-clone.html | |
parent | 919d24f4f64cc04a733a4e52066053944d3992b4 (diff) | |
download | git-htmldocs-d5176901f5976e3785f89ec1db1081d43ddfe110.tar.gz |
Autogenerated HTML docs for v2.13.0-67-g10c78
Diffstat (limited to 'git-clone.html')
-rw-r--r-- | git-clone.html | 20 |
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 <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]
[--dissociate] [--separate-git-dir <git dir>]
- [--depth <depth>] [--[no-]single-branch]
+ [--depth <depth>] [--[no-]single-branch] [--no-tags]
[--recurse-submodules] [--[no-]shallow-submodules]
[--jobs <n>] [--] <repository> [<directory>]</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’t clone any tags, and set
+ <code>remote.<remote>.tagOpt=--no-tags</code> in the config, ensuring
+ that future <code>git pull</code> and <code>git fetch</code> operations won’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[=<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>
|