Dear diary, on Thu, May 04, 2006 at 12:50:56AM CEST, I got a letter where Joel Becker <Joel.Becker@xxxxxxxxxx> said that... > On Thu, May 04, 2006 at 12:46:45AM +0200, Petr Baudis wrote: > > I think git ls-files isn't used directly very frequently. OTOH, you > > don't use cg-log or git log and cg-status/git status? :) Also, most > > people will pull. > > I use git ls-files, becuase it's the only way I know how to > blow away dirty state that added files. I ran into this just yesterday, > actually. git checkout -f won't remove files that are unknown. > > $ git ls-files -o | xargs rm -rf You can use cg-clean, and I think Git has got git-clean added recently. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Right now I am having amnesia and deja-vu at the same time. I think I have forgotten this before. - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html