相关:
How to setup the ideal collaboration repository setup?
我在开发服务器上进行了以下设置:
[repos]
- [site repo]
[dev envs]
- [env a] (checkout of site repo)
- [env b] (checkout of site repo)
- [env c]
- [env d]
如何将env c和d作为env a分支的位置?
使用颠覆+ TortoiseSVN
答案 0 :(得分:1)
您可能需要先阅读本章:4. Branching and Merging
简而言之,您需要从后备箱create a branch:
$ svn cp ^/repos/trunk ^/repos/branch/featureA
然后checkout it,无论你想要什么作为工作副本:
$ svn co ^/repos/branch/featureA featureA
当工作完成reintegrate it back到主干:
trunk_working_copy $ svn merge --reintegrate ^/repos/branch/featureA .