Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
doc/bundle: Use the more conventional suffix '.bundle'
author
Santi Béjar
<santi@agolina.net>
Sat, 7 Feb 2009 22:21:49 +0000
(23:21 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 9 Feb 2009 05:42:17 +0000
(21:42 -0800)
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>
Documentation/git-bundle.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
3ec7371
)
diff --git
a/Documentation/git-bundle.txt
b/Documentation/git-bundle.txt
index ea0f6a0f3ab93b80df7a3b305aed07b312dcfdb5..57590b148011c44485d28d93d31c6a75a681bfb0 100644
(file)
--- a/
Documentation/git-bundle.txt
+++ b/
Documentation/git-bundle.txt
@@
-107,17
+107,17
@@
incremental bundle,
----------------
machineA$ cd R1
----------------
machineA$ cd R1
-machineA$ git bundle create file.b
dl
master
+machineA$ git bundle create file.b
undle
master
machineA$ git tag -f lastR2bundle master
----------------
machineA$ git tag -f lastR2bundle master
----------------
-Then you sneakernet file.b
dl
to the target machine B. Because you don't
+Then you sneakernet file.b
undle
to the target machine B. Because you don't
have to have any object to extract objects from such a bundle, not only
you can fetch/pull from a bundle, you can clone from it as if it was a
remote repository.
----------------
have to have any object to extract objects from such a bundle, not only
you can fetch/pull from a bundle, you can clone from it as if it was a
remote repository.
----------------
-machineB$ git clone /home/me/tmp/file.b
dl
R2
+machineB$ git clone /home/me/tmp/file.b
undle
R2
----------------
This will define a remote called "origin" in the resulting repository that
----------------
This will define a remote called "origin" in the resulting repository that
@@
-126,12
+126,12
@@
have an entry like this:
------------------------
[remote "origin"]
------------------------
[remote "origin"]
- url = /home/me/tmp/file.b
dl
+ url = /home/me/tmp/file.b
undle
fetch = refs/heads/*:refs/remotes/origin/*
------------------------
You can fetch/pull to update the resulting mine.git repository after
fetch = refs/heads/*:refs/remotes/origin/*
------------------------
You can fetch/pull to update the resulting mine.git repository after
-replacing the bundle you store at /home/me/tmp/file.b
dl
with incremental
+replacing the bundle you store at /home/me/tmp/file.b
undle
with incremental
updates from here on.
After working more in the original repository, you can create an
updates from here on.
After working more in the original repository, you can create an
@@
-139,11
+139,11
@@
incremental bundle to update the other:
----------------
machineA$ cd R1
----------------
machineA$ cd R1
-machineA$ git bundle create file.b
dl
lastR2bundle..master
+machineA$ git bundle create file.b
undle
lastR2bundle..master
machineA$ git tag -f lastR2bundle master
----------------
machineA$ git tag -f lastR2bundle master
----------------
-and sneakernet it to the other machine to replace /home/me/tmp/file.b
dl
,
+and sneakernet it to the other machine to replace /home/me/tmp/file.b
undle
,
and pull from it.
----------------
and pull from it.
----------------