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