Git subtree or Git Sub module for large resources?
Here is the problem: I have a lot of code, including artwork for the GUI I need to version in order to faithfully recreate a software product. I am also working on both Windows and Mac. The actual code I'm working on that will change on a daily basis is really small. However, all the related resources total to about a few GB before its built.
From my research online, it seems like either git-subtree or git-submodule is what I would need to use to keep my git repository fast.
I'm sure a lot of you git users out there faced a similar problem and have been confronted with the same decision.
Which approach have you used and what problems have you faced down the line?
A single monolithic git repository will work just fine. Large resources that don't change will only be copied once when you clone.
If you happen to have any large resources that change over time, you might find git-media useful.
GigaBytes of binaries which are not changing a lot (images in my case) I tracked on a server in a local git-repo which I never cloned, practically.
The 'code' was using it directly via network. During build/tests and of course production.
链接地址: http://www.djcxy.com/p/54208.html上一篇: 使用现有(普通)模型将Core Data添加到iPhone应用程序
下一篇: Git子树或Git子模块的大型资源?