#ignore all .o files src/**/*.o #ignore all swp files **/*.swp #ignore all executables, but still keep the bin folder bin/* !bin/.gitkeep #ignore config file src/config.hpp #ignore wifi image img/wifi.png