Interview Prep/Git & GitHub/Conflicts, remotes, fetch, pull and push

What is `merge.conflictStyle=zdiff3` and why use it?

IntermediateConceptConflicts, remotes, fetch, pull and push
Answer

By default markers show only your side and theirs. diff3 also shows the base version between ||||||| and =======, and zdiff3 (Git 2.35+) does the same while trimming common lines. Seeing the base makes it much clearer who changed what.

git config --global merge.conflictStyle zdiff3
All Git & GitHub questions Roadmap: Git & GitHub

More on Conflicts, remotes, fetch, pull and push