summaryrefslogtreecommitdiffstats
path: root/git-bundle.txt
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.txt
parente59a0072cf9a106b3fd372b42531d9338e668409 (diff)
downloadgit-htmldocs-4fd58d46def7aad5dd382cd20768c4cfcd51aba8.tar.gz
Autogenerated HTML docs for v1.5.3.3-114-g2a85
Diffstat (limited to 'git-bundle.txt')
-rw-r--r--git-bundle.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/git-bundle.txt b/git-bundle.txt
index 5051e2bad..0cc6511bd 100644
--- a/git-bundle.txt
+++ b/git-bundle.txt
@@ -103,14 +103,20 @@ We set a tag in R1 (lastR2bundle) after the previous such transport,
and move it afterwards to help build the bundle.
in R1 on A:
+
+------------
$ git-bundle create mybundle master ^lastR2bundle
$ git tag -f lastR2bundle master
+------------
(move mybundle from A to B by some mechanism)
in R2 on B:
+
+------------
$ git-bundle verify mybundle
$ git-fetch mybundle refspec
+------------
where refspec is refInBundle:localRef
@@ -124,9 +130,11 @@ Also, with something like this in your config:
You can first sneakernet the bundle file to ~/tmp/file.bdl and
then these commands:
+------------
$ git ls-remote bundle
$ git fetch bundle
$ git pull bundle
+------------
would treat it as if it is talking with a remote side over the
network.