From: Petr Baudis Date: Wed, 03 May 2006 23:05:02 GMT Subject: Re: [ANNOUNCE] Git wiki Message-ID: <20060503230502.GM27631@pasky.or.cz> In-Reply-To: <20060503225056.GT4226@ca-server1.us.oracle.com> Dear diary, on Thu, May 04, 2006 at 12:50:56AM CEST, I got a letter where Joel Becker 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.