Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git diff after merge (with conflict)

From: Teemu Likonen <hidden>
Date: 2016-06-15 22:46:35

On 2009-04-09 10:27 (-0700), layer wrote:
Is there some way to get regular unified diff behavior instead of the
combined diff? For certain files (like ChangeLog's) the combined diff
format after a merge is *very* confusing.
Maybe the following commands are helpful:

    git diff --base
    git diff --ours
    git diff --theirs

Those options are not documented in git-diff(1), by the way.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help