How do you add linux executable files to .gitignore without giving them an explicit extension and without placing them in a specific or /bin directory? Most are named the same as the C file from which they were compiled without the ".c" extension.
Can you ignore all, but source code files?
For example:
* !*.c !Makefile
I would explicitly put them in the project .gitignore. It's not elegant, but I imagine your project doesn't have that many of them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With