I have two branches for development and deployment. I made committed some changes to the deployment branch which I wanted to merge into the development branch. Now I expected the merge command to show a conflict in such cases -
//development
$path = 'localhost';
and
//deployment
$path = 'example.com';
Instead what happens is that the deployment branch line just replaces the development branch line. I can cherry pick the commits and apply them to the development branch or make the changes manually but I thought there must be a better way to do this.