This is exactly what I tried to avoid, since Git already seem has all
the needed under the hood to prevent such disaster..
On 29.12.2021 15:13, Erik Cervin Edin wrote:
On a tangent, you can set up your own merge tools.
So in git config you can add something like:
[mergetool "both"]
cmd = "sed -i -e '/^<<<<<<<$/d' -e '/^=======$/d' -e '/^>>>>>>>$/d' -- $MERGED"
and call it with git mergetool --tool=both