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