How to add all files with certain extension to gitignore code example Example: gitignore folder in .gitignore: folder/