I recently noticed that one of the files in my repo (local and on GitHub) contained its own diff output:
<<<<<<< HEAD
<?php echo $userimgpath ?>
=======
<?php echo $userimagepath ?>
>>>>>>> 7410f5f3b09452b925fa3cab7f3be85c8760dbc1
I didn't put this into the file myself.
In what situations can this happen?
All I have done is basic pushes/pulls/commits with GitHub as my remote. I just can't work out why this happened.
Could it be some sort of corruption? Or is it possible for a git pull
to somehow merge the commit diff output into the file?