Re: * [BUG] "git clean" does not pay attention to its parameters
- From
Sam Ravnborg <sam@ravnborg.org>
- Date
- Dec 5, 2007, 10:50 UTC
- Message-ID
- <20071205105005.GA6961@uranus.ravnborg.org>
- In-Reply-To
- <7veje1zibm.fsf@gitster.siamese.dyndns.org>
On Tue, Dec 04, 2007 at 11:55:41PM -0800, Junio C Hamano wrote:
Show 9 quoted lines
> Nanako Shiraishi <nanako3@bluebottle.com> writes: > > > In a repository with LaTeX documents, I tried to see what *.aux files are left behind after formatting, by running "git clean -n" with the latest git (1.5.3.7-1005-gdada0c1): > > > > % git clean -n '*.aux' > > > > This however showed more than just '*.aux' files. With the released version 1.5.3.6, the output is correctly limited to the files that match the pattern. > > Yuck. People actually use git-clean?
git clean -d -x is my friend. It it a great way to delete all my temporary files named 'kurt', 'fisk', 'viggo', 'x*' etc.
Sam