So far i’ve collected the following:
*.iws *.war .classpath .DS_Store .project .settings /*.launch /*.tmproj /out/** stacktrace.log test/reports
Any other suggestions?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Update 5 years later (April 2014):
As mentioned in the other answers below, two sites are now able to provide good default .gitignore files, including for a Grails project.
GitHub, when creating a new repo (based on the github/gitignore project).
=>
Grails.gitignoregitignore.io
=> Grails gitignore
(Original answer, January 2009)
Only may be to add
/web-app/WEB-INFto your list:here is an full example of such a gitignore file.Note, as mentionned here, that :
build.xmlis not part of that list, since grails won’t overwrite it..classpath,.project, and.settingswill also not be overwritten if they exist, but they can be ignored at first./plugins/core