From 266d541d0e37b99c4c7c4aca32a99c49a46fac3a Mon Sep 17 00:00:00 2001 From: xyz Date: Fri, 30 Apr 2021 00:08:28 -0700 Subject: git ignore global binary exectuable files --- .config/git/ignore | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.config/git/ignore') diff --git a/.config/git/ignore b/.config/git/ignore index 5e6607ed..526f606d 100644 --- a/.config/git/ignore +++ b/.config/git/ignore @@ -1,2 +1,10 @@ +# ignore all, then unignore all with extensions, then unignore all dirs +# below three lines will ignore all files without extension +# https://stackoverflow.com/questions/5711120/gitignore-binary-files-that-have-no-extension +* +!*.* +!*/ + *.exe *.log +*.o -- cgit v1.2.3-70-g09d2