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>
Santi Béjar committed
Feb 7, 2009 at 23:21 UTC
ffe4da1573835806f1c931fc204264f76618aae2
1 file changed
+7
-7
Documentation/git-bundle.txt
+7
-7
@@ -107,17 +107,17 @@ incremental bundle,
107
108
----------------
109
machineA$ cd R1
110
-machineA$ git bundle create file.bdl master
110
+machineA$ git bundle create file.bundle master
111
machineA$ git tag -f lastR2bundle master
112
----------------
113
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
115
have to have any object to extract objects from such a bundle, not only
116
you can fetch/pull from a bundle, you can clone from it as if it was a
117
remote repository.
118
119
----------------
120
-machineB$ git clone /home/me/tmp/file.bdl R2
120
+machineB$ git clone /home/me/tmp/file.bundle R2
121
----------------
122
123
This will define a remote called "origin" in the resulting repository that
@@ -126,12 +126,12 @@ have an entry like this:
126
127
------------------------
128
[remote "origin"]
129
- url = /home/me/tmp/file.bdl
129
+ url = /home/me/tmp/file.bundle
130
fetch = refs/heads/*:refs/remotes/origin/*
131
------------------------
132
133
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
135
updates from here on.
136
137
After working more in the original repository, you can create an
@@ -139,11 +139,11 @@ incremental bundle to update the other:
139
140
----------------
141
machineA$ cd R1
142
-machineA$ git bundle create file.bdl lastR2bundle..master
142
+machineA$ git bundle create file.bundle lastR2bundle..master
143
machineA$ git tag -f lastR2bundle master
144
----------------
145
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,
147
and pull from it.
148
149
----------------