Skip to content

Commit 8852b75

Browse files
committed
Merge pull request #423 from hedrok/fix-advanced-merging-issues
Fix small issues in advanced-merging
2 parents 3f18314 + 0b61137 commit 8852b75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/07-git-tools/sections/advanced-merging.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ index 0399cd5,59727f0..0000000
493493
This shows us that ``hola world'' was in our side but not in the working copy, that ``hello mundo'' was in their side but not in the working copy and finally that ``hola mundo'' was not in either side but is now in the working copy.
494494
This can be useful to review before committing the resolution.
495495

496-
You can also get this from the `git log` for any merge after the fact to see how something was resolved after the fact.
496+
You can also get this from the `git log` for any merge to see how something was resolved after the fact.
497497
Git will output this format if you run `git show` on a merge commit, or if you add a `--cc` option to a `git log -p` (which by default only shows patches for non-merge commits).
498498

499499
[source,console]
@@ -622,7 +622,7 @@ First of all, there is another useful thing we can do with the normal ``recursiv
622622
We've already seen the `ignore-all-space` and `ignore-space-change` options which are passed with a `-X` but we can also tell Git to favor one side or the other when it sees a conflict.
623623

624624
By default, when Git sees a conflict between two branches being merged, it will add merge conflict markers into your code and mark the file as conflicted and let you resolve it.
625-
If you would prefer for Git to simply choose a specific side and ignore the other side instead of letting you manually merge the conflict, you can pass the `merge` command either a `-Xours` or `-Xtheirs`.
625+
If you would prefer for Git to simply choose a specific side and ignore the other side instead of letting you manually resolve the conflict, you can pass the `merge` command either a `-Xours` or `-Xtheirs`.
626626

627627
If Git sees this, it will not add conflict markers.
628628
Any differences that are mergeable, it will merge.

0 commit comments

Comments
 (0)