How to Add Linux Executable Files to .gitignore? January 28, 2023 by Tarik Can you ignore all, but source code files? For example: * !*.c !Makefile