不应该将哪些grails项目文件添加到版本控制中? (Grails 1.3.x) [英] What grails project files should not be added to version control? (Grails 1.3.x)

查看:187
本文介绍了不应该将哪些grails项目文件添加到版本控制中? (Grails 1.3.x)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(这个问题之前已经被问过了,但一段时间后:对Grails .gitignore的建议; grails 1.0.x的答案)



Grails 1.3.x项目中的哪些文件不应包含在版本控制中?

解决方案

请参阅 http:// grails.org/Checking+Projects+into+SVN - 它有一个简短的忽略列表。



我会包括.settings /但我倾向于保留.classpath和.project源代码管理,因为它们随着项目而变化。然后,也许最好简单地运行 grails integrate-with --eclipse


(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?

解决方案

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.

这篇关于不应该将哪些grails项目文件添加到版本控制中? (Grails 1.3.x)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆