diff options
author | xyz <gky44px1999@gmail.com> | 2021-04-30 00:08:28 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-04-30 00:08:28 -0700 |
commit | 266d541d0e37b99c4c7c4aca32a99c49a46fac3a (patch) | |
tree | 92f9d8d0a9e195b368209a398d9660250329c674 /.config/git | |
parent | c9a366c730041741e8df451967898987dbff96a9 (diff) |
git ignore global binary exectuable files
Diffstat (limited to '.config/git')
-rw-r--r-- | .config/git/ignore | 8 |
1 files changed, 8 insertions, 0 deletions
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 |