From: Joel Becker Date: Wed, 03 May 2006 22:50:56 GMT Subject: Re: [ANNOUNCE] Git wiki Message-ID: <20060503225056.GT4226@ca-server1.us.oracle.com> In-Reply-To: <20060503224645.GR27689@pasky.or.cz> 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 Joel -- Life's Little Instruction Book #452 "Never compromise your integrity." Joel Becker Principal Software Developer Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127