My global .gitignore

Adding my .gitignore file so I can look it up in the future.


# Eclipse
.classpath
.project
.settings/

# Intellij
.idea/
*.iml
*.iws

# Mac
.DS_Store
*.sw?

# Maven
log/
target/

And then configure Git to use it globally by:


git config --global core.excludesfile ~/.gitignore

Voila!

Leave a Reply

Your email address will not be published. Required fields are marked *