Usually when we merge feature branch with master or any other branch and if same file is modified in different branches but on different lines then GIT does resolve the conflict automatically. We dont want these merge happened automatically and expecting GIT should warn us with list of common files modified in two branches to be merged.
e.g. In Master, we have file test1.txt as below
AAABBB
Feature branch (feature/test1) created out of master and updated file test1.txt
AAABBB
CCC
also added new file Test2.txt
If I merge feature branch in master then this is will resolve conflicts automatically and merges the file contents successfully. We wanted if same file is modified in feature and master branch then automatic merge should not occur, howeven it should warn saying test1.txt is modified and needs manual merge.
Please assist how to achieve.