Ignoring all filetypes underneath a directory .gitignore
git
Solution
Make a `.gitignore` file in the build directory and put `*.class` in it. You can read more about Git Ignore files here.
If the `.class` files are already being tracked, then you need to remove the files so git doesn't track them. `git rm --cached '*.class'` will cause the files to stop being tracked, but leave them on your local file system.
Problem
I'm trying to ignore all of a certain type of file within a directory recursively. For example, if I have the folder build and underneath it are other folders, say: ``` -Build \-Folder1 |-Folder2 |-Folder3 ``` How would I go about removing all .class files in every directory underneath build? Thanks