# 1. Ignore all PDFs and PNGs globally by default *.pdf *.png # 2. Whitelist exceptions (Must come AFTER the global ignores) !imgs/ !imgs/*.png