As you are now in the conflict stage, when you open conflicted files, you would see something like this,
Friends
The Sopranos
Breaking Bad
I Love Lucy
<<<<<<< HEAD
The Wire
=======
Game of Thrones
>>>>>>> update_classics
Note
<<<<<<< HEAD- Contents of the current branch=======- Conflict Separator>>>>>>> update_classics- Contents of the branch that’s being merged
- Modify the conflicted file(
classics.md), without any of the conflict parameters. Accept the incoming changes
Your final file should be like this,
Friends
The Sopranos
Breaking Bad
I Love Lucy
Game of Thrones
- After resolving the conflict, stage the changes and continue the merge
git add .
git merge --continueMake the commit message starting with "H: "
- Delete the
update_classicsbranch
git branch -d upadte_classics