Ignore subfolder in git tree

If you want to ignore subfolder in git tree you may add this folder in .gitignore file in root directory, or just create .gitignore file in that folder with content:

# Ignore everything in this directory
*
# Except this file
!.gitignore
konjoot Over 10 years ago