## Any un needed file any where in the project file structure.
*.class
*.tmp
*.jar
*.html
*.png
*.json
*.csv
*.DS_Store
# any eclipse project file.
.eclipse
.classpath
## All the folders underneath site folder
**/site
site/
site/*
## target folder at the top level of the project structue and paths and contents underneath it
target/
target/*
## target folder at any level of the project structue
**/target
/target
First:
git rm -r --cached .
git add .
Then:
git commit -am "Remove ignored files"