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

How do you see what a merge conflict is about before resolving?

IntermediateConceptConflicts, remotes, fetch, pull and push
Answer

Use git log --merge -p -- <path> to show only commits from both sides that touch the conflicted file, and git diff to see the combined diff of the conflicted state.

git log --merge --oneline -- app.py
All Git & GitHub questions Roadmap: Git & GitHub

More on Conflicts, remotes, fetch, pull and push