diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-01-08 16:15:42 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-08 16:15:42 -0800 |
commit | 6bdcc7d8e5f8044eabad26e884e4d2157d169c7b (patch) | |
tree | e824fff51cd09e134ebb34a1b8f83dcb545b7481 /git-bundle.txt | |
parent | eec745b5e346474e9c30341545d5e014d856690b (diff) | |
download | git-htmldocs-6bdcc7d8e5f8044eabad26e884e4d2157d169c7b.tar.gz |
Autogenerated HTML docs for v1.8.1-191-g414c7
Diffstat (limited to 'git-bundle.txt')
-rw-r--r-- | git-bundle.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/git-bundle.txt b/git-bundle.txt index 16a6b0ace..bc023cc5f 100644 --- a/git-bundle.txt +++ b/git-bundle.txt @@ -112,13 +112,12 @@ machineA$ git bundle create file.bundle master machineA$ git tag -f lastR2bundle master ---------------- -Then you transfer file.bundle to the target machine B. If you are creating -the repository on machine B, then you can clone from the bundle as if it -were a remote repository instead of creating an empty repository and then -pulling or fetching objects from the bundle: +Then you transfer file.bundle to the target machine B. Because this +bundle does not require any existing object to be extracted, you can +create a new repository on machine B by cloning from it: ---------------- -machineB$ git clone /home/me/tmp/file.bundle R2 +machineB$ git clone -b master /home/me/tmp/file.bundle R2 ---------------- This will define a remote called "origin" in the resulting repository that |