diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2006-04-19 09:44:12 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2006-04-19 09:44:12 +0000 |
commit | f50bfec34b15905ceaf58be4271c896a60565bd1 (patch) | |
tree | 88acaf3204e2c5f266045ad13cfd808af5a8387b /git-clone.html | |
parent | b33fb4f102d38faac9a28e9d99b4aab488364737 (diff) | |
download | git-htmldocs-f50bfec34b15905ceaf58be4271c896a60565bd1.tar.gz |
Autogenerated HTML docs for v1.3.0-g85e6
Diffstat (limited to 'git-clone.html')
-rw-r--r-- | git-clone.html | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/git-clone.html b/git-clone.html index 42c85d579..1d3b45122 100644 --- a/git-clone.html +++ b/git-clone.html @@ -274,6 +274,7 @@ git-clone(1) Manual Page <div class="sectionbody">
<div class="verseblock">
<div class="content"><em>git-clone</em> [-l [-s]] [-q] [-n] [--bare] [-o <name>] [-u <upload-pack>]
+ [--reference <repository>]
<repository> [<directory>]</div></div>
</div>
<h2>DESCRIPTION</h2>
@@ -323,12 +324,25 @@ branch you are currently working on. Remote branches other than <p>
When the repository to clone is on the local machine,
instead of using hard links, automatically setup
- .git/objects/info/alternatives to share the objects
+ .git/objects/info/alternates to share the objects
with the source repository. The resulting repository
starts out without any object of its own.
</p>
</dd>
<dt>
+--reference <repository>
+</dt>
+<dd>
+<p>
+ If the reference repository is on the local machine
+ automatically setup .git/objects/info/alternates to
+ obtain objects from the reference repository. Using
+ an already existing repository as an alternate will
+ require less objects to be copied from the repository
+ being cloned, reducing network and local storage costs.
+</p>
+</dd>
+<dt>
--quiet
</dt>
<dt>
@@ -434,6 +448,18 @@ $ git show-branch</tt></pre> </div></div>
</dd>
<dt>
+Clone from upstream while borrowing from an existing local directory
+</dt>
+<dd>
+<div class="listingblock">
+<div class="content">
+<pre><tt>$ git clone --reference my2.6 \
+ git://git.kernel.org/pub/scm/.../linux-2.7 \
+ my2.7
+$ cd my2.7</tt></pre>
+</div></div>
+</dd>
+<dt>
Create a bare repository to publish your changes to the public
</dt>
<dd>
@@ -468,7 +494,7 @@ Create a repository on the kernel.org machine that borrows from Linus </div>
<div id="footer">
<div id="footer-text">
-Last updated 10-Mar-2006 00:31:23 UTC
+Last updated 19-Apr-2006 09:44:08 UTC
</div>
</div>
</body>
|