Skip to content

Commit

Permalink
git-bundle: fix commandline examples in the manpage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miklos Vajna authored and Junio C Hamano committed Sep 29, 2007
1 parent d3759c0 commit ee8245b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/git-bundle.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,20 @@ We set a tag in R1 (lastR2bundle) after the previous such transport,
and move it afterwards to help build the bundle.

in R1 on A:

------------
$ git-bundle create mybundle master ^lastR2bundle
$ git tag -f lastR2bundle master
------------

(move mybundle from A to B by some mechanism)

in R2 on B:

------------
$ git-bundle verify mybundle
$ git-fetch mybundle refspec
------------

where refspec is refInBundle:localRef

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

------------
$ git ls-remote bundle
$ git fetch bundle
$ git pull bundle
------------

would treat it as if it is talking with a remote side over the
network.
Expand Down

0 comments on commit ee8245b

Please sign in to comment.