There is a fork of micropython, which incorporates lvgl
(a gui).
Nearly all lvgl
-related code is separate from the micropython code beside some few overlapps.
These overlapps are related to certain (sub-)directories.
Using the lvgl-fork
as "ours
" and the git repo of micropython as "theirs
", I could merge theirs
into ours
with overwrite (-X
) ... and loose the overlapping parts.
Or I could merge without using -X
resulting in "thousands" :) of conflicts, which are no real conflicts but updates since the great majority of code of micropython wasn't touched by lvgl
.
Since this is a firmware, which is difficult to debug and flashing as such isn't THAT healthy for a flash memory, I don't want to experiment that much... :)
Is there a way to do a kind of a "git merge with forced overwrite except for the following directories, in which I want to get conflicts if there are any"?