On Fri, May 16, 2008 at 4:24 PM, John wrote: > > I've spent a few hours looking for the solution to this. After a > create a file in a git repo, it is rightly listed in the output of > 'git status' as 'Untracked'. Then after I run a 'git reset --hard', > the file is still there in the output. I can even 'git commit -a' and > the file would be commited, but really, I want to reset --hard. > > > Is there a workaround?
"git reset" only touches tracked files, not untracked. I think maybe what you are looking for is "git clean". Peter Harris
