Quantcast
Channel: Why is git not able to merge? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Why is git not able to merge?

$
0
0

When I try to rebase one of my branches onto another, git is not able to merge and raises conflict. I can see the following in the conflicted file:

<<<<<<< HEAD=======  if (($mode == 'w')) {    $mode = 'r';    var_export($GLOBALS, true);    //print("<pre>");    //var_dump(array_keys($GLOBALS));    //print("</pre>");  }>>>>>>> 7896670... Some initial changes that I carried over from other directory...

I am just wondering why git is not able to merge these two commits? It is a trivial merge, isn't it? One version contains nothing and another version contains something, so the merge is simple. What am I missing?


Viewing all articles
Browse latest Browse all 2

Trending Articles