How can binary files be ignored in git using the .gitignore file?
git
.gitignore
Example:
$ g++ hello.c -o hello
The
Old thread, but still relevant. I changed the makefile so the resulting binary file after linking has the name [filname].bin instead of only [filname]. Then I added *.bin files in the gitignore. This routine fulfill my needs.