Skip to content

Instantly share code, notes, and snippets.

@quchie
Created November 18, 2016 06:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quchie/6273c7abaad2c394865bf061144fd818 to your computer and use it in GitHub Desktop.
Save quchie/6273c7abaad2c394865bf061144fd818 to your computer and use it in GitHub Desktop.
//.gitignore content
*.iws
*Db.properties
*Db.script
.settings
.classpath
.project
.idea
eclipse
stacktrace.log
target
target-eclipse
/plugins
/web-app/plugins
/web-app/WEB-INF/classes
web-app/WEB-INF/tld/c.tld
web-app/WEB-INF/tld/fmt.tld
//Create empty gitignore in empty folder to make sure the folder is committed. Run in command line.
find . -type d -empty -exec touch {}/.gitignore \;
Reference: https://mythinkpond.com/2013/11/16/grails-2-x-gitignore-file/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment