« Return to Thread: .gitignore example

.gitignore example

by jja-3 :: Rate this Message:

Reply to Author | View in Thread

There was a mention of .gitignore last month, but no complete example posted.
I've just started playing with git on a brand new grails project.
Here's my first cut at a .gitignore for Grails 1.0.3.
(Note that /plugins/core was removed from 1.0.3.)
Comments welcome.
John Allison

# .gitignore for Grails 1.0.3

# web application files that are overwritten by "grails upgrade"
#  cf. GRAILS_HOME/scripts/Upgrade.groovy, target( upgrade )
/web-app/WEB-INF

# IDE support files that are overwritten by "grails upgrade"
#  cf. GRAILS_HOME/scripts/CreateApp.groovy, target( createIDESupportFiles )
# to be specific, you could replace "/*" below with your project name,
#  e.g. "foobar.launch" (no slash)
.classpath
.project
.settings
build.xml
/*.launch
/*.tmproj

# logs
stacktrace.log
/test/reports

# project release file
*.war


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: .gitignore example