X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-bundle.txt;h=0cc6511bdf35f29ce946726485f71eeddddce56b;hb=82527cf33e59308b86cf3defe9ae0f5c2367a012;hp=92e7a687229761b46f57fb4197a725a075f0a0f2;hpb=c1f5086e23e97cdb8c913c10ff273e6cff913d52;p=git.git diff --git a/Documentation/git-bundle.txt b/Documentation/git-bundle.txt index 92e7a6872..0cc6511bd 100644 --- a/Documentation/git-bundle.txt +++ b/Documentation/git-bundle.txt @@ -8,6 +8,7 @@ git-bundle - Move objects and refs by archive SYNOPSIS -------- +[verse] 'git-bundle' create [git-rev-list args] 'git-bundle' verify 'git-bundle' list-heads [refname...] @@ -102,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 @@ -123,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.