Adding my .gitignore file so I can look it up in the future.
# Eclipse
.classpath
.project
.settings/
# Intellij
.idea/
*.iml
*.iws
# OS
.DS_Store
*.sw?
# Maven
log/
target/
And then configure Git to use it globally by:
git config --global core.excludesfile ~/.gitignore
Voila!