Open RuRo opened 1 year ago
How do you actually get to see this view ? what git command do you run ? thanks
Hi @searleser97, if you have a merge conflict (e.g. from a git merge
, or git pull
, or git cherry-pick
or git rebase
etc) then git diff
will show this view if you have delta configured as in the delta README. (Or you can do git diff | delta
).
To enable side-by-side
mode see the delta docs.
Currently, 3 way merge conflicts are rendered like this in side-by-side mode:
I think, that it would be really cool if we could show a 3 way merge side-by-side in 3 columns instead. Something along the lines of this:
P.S. while writing this feature proposal, I've noticed that the line numbers are actually wrong in the current implementation (it counts the lines twice for
ancestor ⟶ HEAD
andancestor ⟶ branch/B
cases). Also, an already resolved merge commit currently looks kind of broken inside-by-side
mode.