I am looking for a tool that will split a file that has conflict markers into the two separate files. Is there anything out there that does this already?
xxdiff can do that:
xxdiff --unmerge myfile.txt
it also works if the conflict markers result from a 3-way diff
xxdiff --unmerge3 myfile.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With