* help, bunch of extra files in "git status" output
@ 2009-06-19 1:12 Chris Friesen
2009-06-19 1:18 ` Linus Torvalds
0 siblings, 1 reply; 2+ messages in thread
From: Chris Friesen @ 2009-06-19 1:12 UTC (permalink / raw)
To: git
Hi,
I'm working with a number of git trees. Recently I was working on a
tree based off 2.6.27, and I went to checkout the mainline branch. I
changed my mind and hit ctrl-C partway through, then checked out my
original branch.
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?
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: help, bunch of extra files in "git status" output
2009-06-19 1:12 help, bunch of extra files in "git status" output Chris Friesen
@ 2009-06-19 1:18 ` Linus Torvalds
0 siblings, 0 replies; 2+ messages in thread
From: Linus Torvalds @ 2009-06-19 1:18 UTC (permalink / raw)
To: Chris Friesen; +Cc: git
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-19 1:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19 1:12 help, bunch of extra files in "git status" output Chris Friesen
2009-06-19 1:18 ` Linus Torvalds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).