-5

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?

AVEbrahimi
  • 15,429
  • 19
  • 84
  • 182

1 Answers1

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