10/09/2011 Leave a comment
The file .gitignore tells Git which files to ignore at commit time. The ignore file itself shall be added and committed to the repository.
Add the following lines to in order to ignore Eclipse project files and folders
.classpath .project .settings/
Add the following line to ignore Maven target folder: