I have three branch Master, Test1, Test2 (Test 1 and Test 2 created from Master)
Now in Test1 branch, I have made some changes to a single file (like updating the method code and signature ) and then created a pull request to merge the same with Master.
I see there are no conflicts shown and it got merged successfully.
Now again in Test2 branch, I have made some changes to a single file (like updating the method code and signature ) and then created a pull request to merge the same with Master. This time I got the merge conflict error.
My question is: Why it has not shown any merge conflict in the first scenario while merging Test1 code to Master.
Under which exact scenario, we will be getting merge conflicts?