Improve .gitignore file
authorGayan Weerakutti <gayan@linuxdeveloper.space>
Sun, 4 Mar 2018 18:14:46 +0000 (23:44 +0530)
committerGayan Weerakutti <gayan@linuxdeveloper.space>
Sun, 4 Mar 2018 18:14:46 +0000 (23:44 +0530)
Add new entries to ignore IDE/OS and auto generated files.

.gitignore

index 345194da447a92366f8d25ff9776976efd4a6d33..5607bfce48a42b5e58d4fe5c61ca8423f36c3983 100644 (file)
@@ -1,17 +1,62 @@
-.hg
-.hgignore
 local.properties
 .version
-.idea/workspace.xml
-.idea/fileColors.xml
-.idea/uiDesigner.xml
-nbproject/private/*
-build/*
-dist/*
-tmp/*
+
+####### General #######
 trace
 activity*.png
 *.class
 *.orig
 *~
 *.DS_Store
+
+####### Ant #######
+build/
+
+####### Covers NetBeans IDE #######
+nbproject/private/
+nbbuild/
+dist/
+nbdist/
+.nb-gradle/
+
+####### Covers Eclipse IDE #######
+.metadata
+tmp/
+*.tmp
+*.bak
+*.swp
+*~.nib
+.settings/
+.loadpath
+.recommenders
+
+####### Covers JetBrains IDE: IntelliJ #######
+
+# User-specific stuff:
+.idea/**/workspace.xml
+.idea/**/tasks.xml
+.idea/dictionaries
+.idea/ant.xml
+
+# Sensitive or high-churn files:
+.idea/**/dataSources/
+.idea/**/dataSources.ids
+.idea/**/dataSources.local.xml
+.idea/**/sqlDataSources.xml
+.idea/**/dynamic.xml
+.idea/**/uiDesigner.xml
+
+# Gradle:
+.idea/**/gradle.xml
+.idea/**/libraries
+
+## File-based project format:
+*.iws
+
+## Plugin-specific files:
+
+# IntelliJ
+out/
+
+# JIRA plugin
+atlassian-ide-plugin.xml