File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -112,13 +112,12 @@ machineA$ git bundle create file.bundle master
112
112
machineA$ git tag -f lastR2bundle master
113
113
----------------
114
114
115
- Then you transfer file.bundle to the target machine B. If you are creating
116
- the repository on machine B, then you can clone from the bundle as if it
117
- were a remote repository instead of creating an empty repository and then
118
- pulling or fetching objects from the bundle:
115
+ Then you transfer file.bundle to the target machine B. Because this
116
+ bundle does not require any existing object to be extracted, you can
117
+ create a new repository on machine B by cloning from it:
119
118
120
119
----------------
121
- machineB$ git clone /home/me/tmp/file.bundle R2
120
+ machineB$ git clone -b master /home/me/tmp/file.bundle R2
122
121
----------------
123
122
124
123
This will define a remote called "origin" in the resulting repository that
You can’t perform that action at this time.
0 commit comments