gitignore folder and subfolders code example
Example 1: gitignore folder
in .gitignore:
folder/
Example 2: git exclude nested folder
in .gitignore
NestedFolderName/
in .gitignore:
folder/
in .gitignore
NestedFolderName/