how to gitignore multiple files in a folder code example
Example 1: gitignore folder
in .gitignore:
folder/
Example 2: git ignore content of a folder
# exclude everything
somefolder/*
# exception to the rule
!somefolder/.gitkeep
Example 3: gitignore all files and folders in only one folder
*
*/
!.gitignore