git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git diff after merge (with conflict)

From
TLTeemu Likonen <tlikonen@iki.fi>
Date
Apr 9, 2009, 17:40 UTC
Message-ID
<87ljq97mjg.fsf@iki.fi>
In-Reply-To
<324.1239298063@relay.known.net>
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.
Previous: layerNext: Junio C Hamano
Message 2 of 3 in “git diff after merge (with conflict)”
  1. layerApr 9, 2009
  2. Teemu LikonenApr 9, 2009
  3. Junio C HamanoApr 11, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.