Skip to content

Commit ee8245b

Browse files
Miklos Vajnagitster
authored andcommitted
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>
1 parent d3759c0 commit ee8245b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/git-bundle.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,20 @@ We set a tag in R1 (lastR2bundle) after the previous such transport,
103103
and move it afterwards to help build the bundle.
104104

105105
in R1 on A:
106+
107+
------------
106108
$ git-bundle create mybundle master ^lastR2bundle
107109
$ git tag -f lastR2bundle master
110+
------------
108111

109112
(move mybundle from A to B by some mechanism)
110113

111114
in R2 on B:
115+
116+
------------
112117
$ git-bundle verify mybundle
113118
$ git-fetch mybundle refspec
119+
------------
114120

115121
where refspec is refInBundle:localRef
116122

@@ -124,9 +130,11 @@ Also, with something like this in your config:
124130
You can first sneakernet the bundle file to ~/tmp/file.bdl and
125131
then these commands:
126132

133+
------------
127134
$ git ls-remote bundle
128135
$ git fetch bundle
129136
$ git pull bundle
137+
------------
130138

131139
would treat it as if it is talking with a remote side over the
132140
network.

0 commit comments

Comments
 (0)