I was working on a PHP project in PHPStorm, now after pulling a commit of a friend if found lots of <<<<<<< HEAD and >>>>>>> in my code, what are these and who added them?
Asked
Active
Viewed 247 times
-5
AVEbrahimi
- 15,429
- 19
- 84
- 182
1 Answers
8
These symbols delimit a conflict in an merge performed on this file. You have to resolve the conflict, then create a new commit.
There is plenty of resources to learn how to resolve git conflicts. For example, https://help.github.com/articles/resolving-a-merge-conflict-from-the-command-line/ from GitHub is a good starting point.
Antwane
- 18,008
- 7
- 43
- 76
-
1PHPStorm has a better tool for resolve git conflict than commandline tool – darkomen Dec 28 '15 at 15:21