How can binary files be ignored in git using the .gitignore file?
git
.gitignore
Example:
$ g++ hello.c -o hello
The
Binary files are often without extensions. If this is your case try this:
* !/**/ !*.*
REF: https://stackoverflow.com/a/19023985/1060487