diff options
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 |