summaryrefslogtreecommitdiffstats
path: root/git-bundle.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-09-30 00:51:14 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-09-30 00:51:14 +0000
commit4fd58d46def7aad5dd382cd20768c4cfcd51aba8 (patch)
treeb22aa7ccfa99b7648da1bb9cf033556cf0b28662 /git-bundle.html
parente59a0072cf9a106b3fd372b42531d9338e668409 (diff)
downloadgit-htmldocs-4fd58d46def7aad5dd382cd20768c4cfcd51aba8.tar.gz
Autogenerated HTML docs for v1.5.3.3-114-g2a85
Diffstat (limited to 'git-bundle.html')
-rw-r--r--git-bundle.html27
1 files changed, 18 insertions, 9 deletions
diff --git a/git-bundle.html b/git-bundle.html
index 488544266..81b8a827f 100644
--- a/git-bundle.html
+++ b/git-bundle.html
@@ -392,13 +392,19 @@ but we can move data from A to B via some mechanism (CD, email, etc).
We want to update R2 with developments made on branch master in R1.
We set a tag in R1 (lastR2bundle) after the previous such transport,
and move it afterwards to help build the bundle.</p>
-<p>in R1 on A:
-$ git-bundle create mybundle master ^lastR2bundle
-$ git tag -f lastR2bundle master</p>
+<p>in R1 on A:</p>
+<div class="listingblock">
+<div class="content">
+<pre><tt>$ git-bundle create mybundle master ^lastR2bundle
+$ git tag -f lastR2bundle master</tt></pre>
+</div></div>
<p>(move mybundle from A to B by some mechanism)</p>
-<p>in R2 on B:
-$ git-bundle verify mybundle
-$ git-fetch mybundle refspec</p>
+<p>in R2 on B:</p>
+<div class="listingblock">
+<div class="content">
+<pre><tt>$ git-bundle verify mybundle
+$ git-fetch mybundle refspec</tt></pre>
+</div></div>
<p>where refspec is refInBundle:localRef</p>
<p>Also, with something like this in your config:</p>
<div class="literalblock">
@@ -408,9 +414,12 @@ fetch = refs/heads/*:refs/remotes/origin/*</tt></pre>
</div></div>
<p>You can first sneakernet the bundle file to ~/tmp/file.bdl and
then these commands:</p>
-<p>$ git ls-remote bundle
+<div class="listingblock">
+<div class="content">
+<pre><tt>$ git ls-remote bundle
$ git fetch bundle
-$ git pull bundle</p>
+$ git pull bundle</tt></pre>
+</div></div>
<p>would treat it as if it is talking with a remote side over the
network.</p>
</div>
@@ -424,7 +433,7 @@ network.</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 19-Jul-2007 02:09:32 UTC
+Last updated 30-Sep-2007 00:49:43 UTC
</div>
</div>
</body>