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

Re: How do I get a list of all unmerged files?

From
JJJoshua Juran <jjuran@gmail.com>
Date
Oct 27, 2010, 18:39 UTC
Message-ID
<DD284F82-88E1-44D8-B2B7-C11ED9F3F7DE@gmail.com>
In-Reply-To
<4CC85AA2.1050406@nextest.com>
On Oct 27, 2010, at 10:00 AM, Eric Raible wrote:
Show 8 quoted lines
> On 11:59 AM, Jay Soffian wrote:
>> $ git help unmerged
>> `git unmerged' is aliased to `!git ls-files --unmerged | cut -f2 |  
>> uniq'
>>
>> If there's a better way to do it, I don't know what it is.
>
> How about: git diff --name-only | uniq
I use `git diff --stat`, via alias `git ds`.
Josh
Previous: Eric RaibleNext: Eric Raible
Message 4 of 8 in “How do I get a list of all unmerged files?”
  1. George SpelvinOct 26, 2010
  2. Jay SoffianOct 26, 2010
  3. Eric RaibleOct 27, 2010
  4. Joshua JuranOct 27, 2010
  5. Eric RaibleOct 27, 2010
  6. Junio C HamanoOct 26, 2010
  7. Gavin GuoOct 26, 2010
  8. Eric RaibleOct 26, 2010

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.