gitignore in folder but not folder code example Example: gitignore all files and folders in only one folder * */ !.gitignore