Skip to content

Commit

Permalink
add the missing 'handle conflict' in merge section
Browse files Browse the repository at this point in the history
  • Loading branch information
gpanda committed Jun 15, 2014
1 parent 031a4e6 commit 652cad3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,26 @@ merge
doing the merge has to figure out the best merge base for themselves. This
makes merging a heck of a lot easier in Git than in these other systems.

* handle conflicts

Automatic merge failed; fix conflicts and then commit the result.

git status

Git adds standard conflict-resolution markers to the files that have
conflicts, so you can open them manually and resolve those conflicts, or use
(git mergetool).

conflict section looks like:

<<<<<<< HEAD (current branch)
abcd
=======
1234
>>>>>>>> <branch-to-merge>

After fix the conflict, git add and git commit.

see [ref.2]_

rebase
Expand Down

0 comments on commit 652cad3

Please sign in to comment.