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:
master
andbranch1
file1.ini
:- in
master
: has been removed - in
branch1
: has been modified (compared to common ancestor withmaster
)
- in
master
has a new file:folderA/file2.ini
file1
was not moved tofolderA/file2.ini
After the merge command:
file1.ini
has been deletednew 'folderA/file2.ini`contains conflict markers like:
<<<<<<< HEAD:file1.ini
...
=======
...
>>>>>>> master:folderA/file2.ini
I'm puzzled about the file mixing.