哪些 Grails 项目文件不应该添加到版本控制中? (Grails 1.3.x)
(这个问题之前已经被问过,但不久前:针对 Grails .gitignore 的建议;它已回答 grails 1.0.x)
Grails 1.3.x 项目中的哪些文件不应包含在版本控制中?
(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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅 http://grails.org/Checking+Projects+into+SVN - 它有一个简短的忽略列表。
我会包含 .settings/ 但我倾向于将 .classpath 和 .project 保留在源代码管理中,因为它们随项目而变化。话又说回来,也许简单地运行
grailsintegrate-with--eclipse
会更好。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
..gitignore:
.gitignore: