From: Martin Waitz Date: Tue, 04 Apr 2006 08:20:02 GMT Subject: Re: [PATCH] Add git-clean command Message-ID: <20060404082002.GJ4663@admingilde.org> In-Reply-To: <20060403221841.25097.18242.stgit@dv.roinet.com> hoi :) > +-x:: > + Don't use the ignore rules. This allows removing all untracked > + files, including build products. This can be used (possibly in > + conjunction with gitlink:git-reset[1]) to create a pristine > + working directory to test a clean build. as ignored files are generally generated files, doesn't it make sense to clean up the "ignored" files, and leave other untracked files alone? That way you don't loose files which you forgot to add to git. What is the use case of cleaning up all untracked files without also cleaning ignored files? -- Martin Waitz