Apply .gitignore rules