summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-22 15:42:39 -0700
committerJunio C Hamano <gitster@pobox.com>2012-06-22 15:42:39 -0700
commit7f2b3cb98f6fbfdd4680aa7d74f51f55e2174ef1 (patch)
tree819126657300af330e6ed6c5c78238226e5c2a2b /git-clone.html
parenta28a920b817789e9535e30d163d1cfeda9803b99 (diff)
downloadgit-htmldocs-7f2b3cb98f6fbfdd4680aa7d74f51f55e2174ef1.tar.gz
Autogenerated HTML docs for v1.7.11.1-29-gf71be
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html19
1 files changed, 11 insertions, 8 deletions
diff --git a/git-clone.html b/git-clone.html
index 31704c0a5..d81627ec5 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -625,14 +625,17 @@ configuration variables.</p></div>
mechanism and clones the repository by making a copy of
HEAD and everything under objects and refs directories.
The files under <tt>.git/objects/</tt> directory are hardlinked
- to save space when possible. This is now the default when
- the source repository is specified with <tt>/path/to/repo</tt>
- syntax, so it essentially is a no-op option. To force
- copying instead of hardlinking (which may be desirable
- if you are trying to make a back-up of your repository),
- but still avoid the usual "git aware" transport
- mechanism, <tt>--no-hardlinks</tt> can be used.
+ to save space when possible.
</p>
+<div class="paragraph"><p>If the repository is specified as a local path (e.g., <tt>/path/to/repo</tt>),
+this is the default, and --local is essentially a no-op. If the
+repository is specified as a URL, then this flag is ignored (and we
+never use the local optimizations). Specifying <tt>--no-local</tt> will
+override the default when <tt>/path/to/repo</tt> is given, using the regular
+git transport instead.</p></div>
+<div class="paragraph"><p>To force copying instead of hardlinking (which may be desirable if you
+are trying to make a back-up of your repository), but still avoid the
+usual "git aware" transport mechanism, <tt>--no-hardlinks</tt> can be used.</p></div>
</dd>
<dt class="hdlist1">
--no-hardlinks
@@ -1105,7 +1108,7 @@ Create a repository on the kernel.org machine that borrows from Linus:
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2012-01-31 23:21:34 PDT
+Last updated 2012-06-22 15:42:03 PDT
</div>
</div>
</body>