My Goto .gitignore File

David Maple bio photo By David Maple

A .gitignore file that covers playframework, jekyll, s3_website and IntelliJ IDEA

wget -O .gitignore https://gist.githubusercontent.com/davemaple/433c250d4df2e929dc0f/raw/cdcdeb92dc554d15fa4241c351cf1a27e5fb9fc8/.gitignore

logs
.log
project/project
project/target
.target
target
tmp
.cache
.history
.idea
/.iml
/out
/.idea_modules
/.classpath
/.project
/RUNNING_PID
/.settings
/bin
conf/rc.application.conf
conf/rc.deployment.secret
conf/live.application.conf
conf/live.deployment.secret
/target/
.DS_Store

User-specific stuff:

.idea/workspace.xml .idea/tasks.xml .idea/dictionaries .idea/vcs.xml .idea/jsLibraryMappings.xml

Sensitive or high-churn files:

.idea/dataSources.ids .idea/dataSources.xml .idea/dataSources.local.xml .idea/sqlDataSources.xml .idea/dynamic.xml .idea/uiDesigner.xml

Gradle:

.idea/gradle.xml .idea/libraries

Mongo Explorer plugin:

.idea/mongoSettings.xml

File-based project format:

*.iws

Plugin-specific files:

IntelliJ

/out/

mpeltonen/sbt-idea plugin

.idea_modules/

JIRA plugin

atlassian-ide-plugin.xml

Crashlytics plugin (for Android Studio and IntelliJ)

com_crashlytics_export_strings.xml crashlytics.properties crashlytics-build.properties fabric.properties

*.iml

jekyll

_site *.DS_Store *.sublime-project *.sublime-workspace codekit-config.json node_modules .sass-cache .idea *.iml s3_website.yml .assets-cache