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

Re: help, bunch of extra files in "git status" output

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jun 19, 2009, 01:18 UTC
Message-ID
<alpine.LFD.2.01.0906181817360.16802@localhost.localdomain>
In-Reply-To
<4A3AE5E6.6010404@nortel.com>
On Thu, 18 Jun 2009, Chris Friesen wrote:
> 
> Now when I do "git status" it shows about 600 filenames in the
> "Untracked files" section.  How do I return my tree to a clean state?
> Can I just delete all these files?

Yes. You can do "git clean -dqfx" and it will delete any files that aren't listed in the index.

		Linus
Previous: Chris Friesen
Message 2 of 2 in “help, bunch of extra files in "git status" output”
  1. Chris FriesenJun 19, 2009
  2. Linus TorvaldsJun 19, 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.