Here is my situation:
I have two feature branches A & B.
I want to combine these two branches.
I did the following:
Create a new branch C branching off from A
Checkout the new branch C
run
git merge B
from command line
I expect both the branches combined. If there are conflicting changes to the same files the command should raise a merge conflict.
But in actual, there is a same file which has different contents in branches A and B but there was no merge conflict reported. Instead, the contents of the file from branch A are overwritten by the contents of the file from branch B.
I have no clue why there was not a merge conflict reported and am more worried why the contents of the file was overwritten.
Any hints or pointers would help. Thanks.