Tutorial: adjust merge example to recursive strategy.
Current default, merge-recursive, gives slightly different message while working from merge-resolve which was used to prepare the illustration in the tutorial. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
58cce8a85d
commit
0501c2409d
@ -898,9 +898,8 @@ file, which had no differences in the `mybranch` branch), and say:
|
|||||||
fatal: Merge requires file-level merging
|
fatal: Merge requires file-level merging
|
||||||
Nope.
|
Nope.
|
||||||
...
|
...
|
||||||
merge: warning: conflicts during merge
|
Auto-merging hello
|
||||||
ERROR: Merge conflict in hello.
|
CONFLICT (content): Merge conflict in hello
|
||||||
fatal: merge program failed
|
|
||||||
Automatic merge failed/prevented; fix up by hand
|
Automatic merge failed/prevented; fix up by hand
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
@ -942,10 +941,10 @@ environment, is `git show-branch`.
|
|||||||
|
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
$ git show-branch master mybranch
|
$ git show-branch master mybranch
|
||||||
* [master] Merged "mybranch" changes.
|
* [master] Merge work in mybranch
|
||||||
! [mybranch] Some work.
|
! [mybranch] Some work.
|
||||||
--
|
--
|
||||||
+ [master] Merged "mybranch" changes.
|
+ [master] Merge work in mybranch
|
||||||
++ [mybranch] Some work.
|
++ [mybranch] Some work.
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
@ -998,10 +997,10 @@ looks like, or run `show-branch`, which tells you this.
|
|||||||
|
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
$ git show-branch master mybranch
|
$ git show-branch master mybranch
|
||||||
! [master] Merged "mybranch" changes.
|
! [master] Merge work in mybranch
|
||||||
* [mybranch] Merged "mybranch" changes.
|
* [mybranch] Merge work in mybranch
|
||||||
--
|
--
|
||||||
++ [master] Merged "mybranch" changes.
|
++ [master] Merge work in mybranch
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user