help, bunch of extra files in "git status" output
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
Quoted 4 lines · Chris Friesen
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