Skip to content

Instantly share code, notes, and snippets.

@islomar
Last active May 2, 2024 14:55
Show Gist options
  • Save islomar/6704b616463deef606e2 to your computer and use it in GitHub Desktop.
Save islomar/6704b616463deef606e2 to your computer and use it in GitHub Desktop.
Basic gitignore for Java and Mac:
# git config --global core.excludesfile ~/.gitignore_global
# Some common .gitignore configurations: https://gist.github.com/octocat/9257657
# Copy the next content on the .gitignore_global file:
.DS_Store
*.class
bin/
.settings/
# Eclipse files
.project
.classpath
.metadata/
# IntelliJ
.idea/
*.iml
*.ipr
*.iws
atlassian-ide-plugin.xml
# Maven files
target/
# Package Files #
*.jar
*.war
*.ear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment