git ignore all target folders code example Example: git ignore all files and folders in folder * */ !.gitignore