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

list all the untrack files in a git respo

From
GSGerb Stralko <gerb.stralko@gmail.com>
Date
Jun 4, 2008, 14:05 UTC
Message-ID
<75b57c110806040705mc324d9dx9ce099593ce967dd@mail.gmail.com>

Is there a way to list only the untracked files in git? git status works, but i need to do some parsing in order to get a list of untracked files. Something like git status --show-only-untracked?

thanks
Jerry
Next: Jakub Narebski
Message 1 of 5 in “list all the untrack files in a git respo”
  1. Gerb StralkoJun 4, 2008
  2. Jakub NarebskiJun 4, 2008
  3. Johan HerlandJun 4, 2008
  4. Gerb StralkoJun 4, 2008
  5. Michael J GruberJun 4, 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.