@matheusbsbs / matheus-bagliano / commits / ee8245b54a
Fork 0

git-bundle: fix commandline examples in the manpage

Multiple commands were displayed in one line, making the manpage hard to read. Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Miklos Vajna committed Sep 27, 2007 at 01:34 UTC ee8245b54a2e4ea8838d28a7bcce2e07ef887a2c
1 file changed +8
Documentation/git-bundle.txt
+8
@@ -103,14 +103,20 @@ We set a tag in R1 (lastR2bundle) after the previous such transport,
103 and move it afterwards to help build the bundle.
104
105 in R1 on A:
106 +
107 +------------
108 $ git-bundle create mybundle master ^lastR2bundle
109 $ git tag -f lastR2bundle master
110 +------------
111
112 (move mybundle from A to B by some mechanism)
113
114 in R2 on B:
115 +
116 +------------
117 $ git-bundle verify mybundle
118 $ git-fetch mybundle refspec
119 +------------
120
121 where refspec is refInBundle:localRef
122
@@ -124,9 +130,11 @@ Also, with something like this in your config:
130 You can first sneakernet the bundle file to ~/tmp/file.bdl and
131 then these commands:
132
133 +------------
134 $ git ls-remote bundle
135 $ git fetch bundle
136 $ git pull bundle
137 +------------
138
139 would treat it as if it is talking with a remote side over the
140 network.