What grails project files should not be added to version control? (Grails 1.3.x)

核能气质少年 提交于 2019-12-31 01:25:51

问题


(This question has been asked before, but a while back: Suggestions for Grails .gitignore; it was answered for grails 1.0.x)

What files in a Grails 1.3.x project should not be included in version control?


回答1:


See http://grails.org/Checking+Projects+into+SVN - it has a short list of ignores.

I would include .settings/ but I tend to keep .classpath and .project in source control because they change with the project. Then again, perhaps it's better simply to run grails integrate-with --eclipse.




回答2:


.gitignore:

# Maven output directory
target/

# Eclipse Project files
.classpath
.project
.settings/

# OS X generated files
.DS_Store


来源:https://stackoverflow.com/questions/4201578/what-grails-project-files-should-not-be-added-to-version-control-grails-1-3-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!