On Mon, Oct 17, 2016 at 1:07 PM, Junio C Hamano <gits...@pobox.com> wrote:
> Ramsay Jones <ram...@ramsayjones.plus.com> writes:
>> Heh, I actually have the following in my config.mak already:
>> extra-clean: clean
>>       find . -iname '*.o' -exec rm {} \;
>> But for some reason I _always_ type 'make clean' and then, to top
>> it off, I _always_ type the 'find' command by hand (I have no idea
>> why) :-D
> "git clean -x" anybody?

I only want to cleanup compiled stuff and such, not the precious
unversioned text files I have laying around here. So I guess

  git clean -x -e:(attr:!binary)

would suffice, though. ;)

Reply via email to