From: Tomas Mudrunka <tomas@mudrunka.cz> Date: Thu, 19 Apr 2012 13:23:08 +0000 (+0200) Subject: Gitignore tuning: better ignoring of binaries X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=3e906a3f10d1e1d94b54b45a1040dc6cd4178cb5;p=mirrors%2FPrograms.git Gitignore tuning: better ignoring of binaries --- diff --git a/c/.gitignore b/c/.gitignore index 1ed1bca..796c53c 100644 --- a/c/.gitignore +++ b/c/.gitignore @@ -1,6 +1,7 @@ #Quick and dirty .gitignore to get rid of binaries, overrides global .gitignore :( -/* -!/*.* +* +!*/ +!*.* ![Mm]akefile *.o *.exe