# Compiled binaries have no file extension, so a normal pattern cannot catch # them. Ignore everything, then whitelist the file types worth committing. * !*/ # sources and headers !*.cpp !*.h !*.hpp # config that should travel with the repo !Makefile !setup.sh !.gitignore !.clangd !*.md !*.txt !*.json !*.sublime-project !*.sublime-build !*.sublime-settings !*.sublime-keymap # contest input / expected answers are worth keeping !*.in !expectedf.out # ...but never these *.sublime-workspace *.d *.bak-* outputf.out