I need to exclude the folder App_Data from my Github but i don\'t know how.
I have a application which saves many files like jpg files in the directory: Source\\MyProjec
In case you need to ignore a whole folder which was already tracked, do not forget to do it recursively with -r.
Add foldername/ to .gitignore
git rm -r --cached foldername/