X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-checkout.txt;h=1ae77be45055418b9c784d15db520841dd7bdd7a;hb=cc58fc0684396c5298b21c97f00a568e46224258;hp=e4ffde4fdd78f4fe476951c9eeabebf143647eb3;hpb=cec8d146fc020c3815d424ff6d94b3d3a1aaf1ff;p=git.git diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index e4ffde4fd..1ae77be45 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -61,7 +61,8 @@ OPTIONS + When a merge conflict happens, the index entries for conflicting paths are left unmerged, and you need to resolve the conflicts -and mark the resolved paths with `git update-index`. +and mark the resolved paths with `git add` (or `git rm` if the merge +should result in deletion of the path). :: Name for the new branch. @@ -179,11 +180,11 @@ fatal: merge program failed At this point, `git diff` shows the changes cleanly merged as in the previous example, as well as the changes in the conflicted files. Edit and resolve the conflict and mark it resolved with -`git update-index` as usual: +`git add` as usual: + ------------ $ edit frotz -$ git update-index frotz +$ git add frotz ------------