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

Re: Suggestion: git status --untracked

From
RGRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Date
Feb 11, 2008, 10:54 UTC
Message-ID
<b77c1dce0802110254g724d4218l7219c9d9f9ec8027@mail.gmail.com>
In-Reply-To
<vpq63wvztqc.fsf@bauges.imag.fr>
On 11/02/2008, Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
Show 7 quoted lines
> Actually, it's already available (since a few weeks in master IIRC,
> not sure whether it's in the latest release), as
>
>   git ls-files --exclude-standard -o
>
> The --exclude-standard tells git ls-files to read .gitignore and
> friends as most commands do, and -o means "show 'other' files".

Ah, many thanks. (Still not familiar with the plumbing.) I'm already adding an alias for that command in my config!

Previous: Matthieu MoyNext: Jeff King
Message 3 of 5 in “Suggestion: git status --untracked”
  1. Rafael Garcia-SuarezFeb 11, 2008
  2. Matthieu MoyFeb 11, 2008
  3. Rafael Garcia-SuarezFeb 11, 2008
  4. Jeff KingFeb 11, 2008
  5. Jakub NarebskiFeb 11, 2008

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.