什么是_1。*,_ 2。*,文件版本为? [英] What Are The _1.*, _2.*, File Versions For?
问题描述
我的所有数据库架构都在源代码管理下。 目前我有一个开放的分支,我开始注意到我的一些文件的重复副本...文件名中包含_1,_2等编码。
I have all my database schema under source control. Currently I have an open branch and am starting to notice what looks like duplicate copies of some of my files ... with _1, _2, etc. encoded in the filename.
任何人都可以告诉我为什么这些被创造出来?
Can anyone tell me why these are created?
如果我需要更改存储在源文件中的模式,我怎么知道要编辑哪个模式?
If I need to make changes to schema stored in a source file how do I know which one to edit?
我应该管理这些不知何故,我自己?
Am I supposed to manage these somehow on my own?
当我将我的更改同步回主线时它们会消失吗?
Will they go away when I sync my changes back into the mainline?
非常感谢
Kathy Gibson
Kathy Gibson
示例:
uci_ssp_t.index.sql   (原始档案)
uci_ssp_t.index.sql (original file)
uci_ssp_t_1.index.sql (在服务器和本地沙箱上,与原始相同)
uci_ssp_t_1.index.sql (on server and local sandbox, identical to original)
uci_ssp_t_2.index.sql (在服务器和本地沙箱上,与原始相同)
uci_ssp_t_2.index.sql (on server and local sandbox, identical to original)
推荐答案
Hello Kathy,
Hello Kathy,
你的意思是一个分支中的所有重复文件?或者您为uci_ssp_t.index.sql文件创建分支,名称为uci_ssp_t_1.index.sql&ubsp_ssp_t_2.index.sql的分支?如果你能提供更好地说明
的截图,那就更好了。
Do you mean all the duplicate files in one branch? Or you create branchs for the uci_ssp_t.index.sql file, the branches with the name uci_ssp_t_1.index.sql and uci_ssp_t_2.index.sql? It is better if you can provide me screenshot which can better illustrate it.
如果你的情况与我上面提到的第二个选项相同,我认为你应该提供当你为原始文件uci_ssp_t.index.sql创建分支时,一些有意义的名称。
If your scenario is the same as the second option I mentioned above, I think you should provide some meaningful names when you create branches for the original file uci_ssp_t.index.sql.
谢谢。
这篇关于什么是_1。*,_ 2。*,文件版本为?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!