gitignore exclude file from ignored folder code example Example: git exclude folder directory_to_exclude/