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