I'm trying to merge a branch with the master one. Surprisingly, git identified conflicts across different files! I'm used to conflicts in the same file but cannot understand the concept behind conflicts between different files.
Here is the case:
- there are 2 branches:
masterandbranch1 file1.ini:- in
master: has been removed - in
branch1: has been modified (compared to common ancestor withmaster)
- in
masterhas a new file:folderA/file2.inifile1was not moved tofolderA/file2.ini
After the merge command:
file1.inihas been deletednew 'folderA/file2.ini`contains conflict markers like:
<<<<<<< HEAD:file1.ini
...
=======
...
>>>>>>> master:folderA/file2.ini
I'm puzzled about the file mixing.