Skip to content

Commit ffe4da1

Browse files
Santi Béjargitster
authored andcommitted
doc/bundle: Use the more conventional suffix '.bundle'
Although it does not matter in general it is handled different by "git clone", as it removes it to make the "humanish" name of the new repository. Signed-off-by: Santi Béjar <santi@agolina.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3ec7371 commit ffe4da1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Documentation/git-bundle.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,17 +107,17 @@ incremental bundle,
107107

108108
----------------
109109
machineA$ cd R1
110-
machineA$ git bundle create file.bdl master
110+
machineA$ git bundle create file.bundle master
111111
machineA$ git tag -f lastR2bundle master
112112
----------------
113113

114-
Then you sneakernet file.bdl to the target machine B. Because you don't
114+
Then you sneakernet file.bundle to the target machine B. Because you don't
115115
have to have any object to extract objects from such a bundle, not only
116116
you can fetch/pull from a bundle, you can clone from it as if it was a
117117
remote repository.
118118

119119
----------------
120-
machineB$ git clone /home/me/tmp/file.bdl R2
120+
machineB$ git clone /home/me/tmp/file.bundle R2
121121
----------------
122122

123123
This will define a remote called "origin" in the resulting repository that
@@ -126,24 +126,24 @@ have an entry like this:
126126

127127
------------------------
128128
[remote "origin"]
129-
url = /home/me/tmp/file.bdl
129+
url = /home/me/tmp/file.bundle
130130
fetch = refs/heads/*:refs/remotes/origin/*
131131
------------------------
132132

133133
You can fetch/pull to update the resulting mine.git repository after
134-
replacing the bundle you store at /home/me/tmp/file.bdl with incremental
134+
replacing the bundle you store at /home/me/tmp/file.bundle with incremental
135135
updates from here on.
136136

137137
After working more in the original repository, you can create an
138138
incremental bundle to update the other:
139139

140140
----------------
141141
machineA$ cd R1
142-
machineA$ git bundle create file.bdl lastR2bundle..master
142+
machineA$ git bundle create file.bundle lastR2bundle..master
143143
machineA$ git tag -f lastR2bundle master
144144
----------------
145145

146-
and sneakernet it to the other machine to replace /home/me/tmp/file.bdl,
146+
and sneakernet it to the other machine to replace /home/me/tmp/file.bundle,
147147
and pull from it.
148148

149149
----------------

0 commit comments

Comments
 (0)