gpt4 book ai didi

svn - 我是否需要使用 Subversion 手动创建主干/和分支/文件夹,或者这些文件夹是他们自己创建的?

转载 作者:行者123 更新时间:2023-12-04 01:37:46 24 4
gpt4 key购买 nike

我在理解一些关于颠覆的简单知识时遇到了一些困难:

如果我想要一个带有主干和多个分支的 Subversion 存储库,我是否必须手动创建 trunk/branches/ 文件夹,然后从那时起我有责任保持一切整洁并放在正确的位置吗?

我可以举一个具体的例子来支持上面的问题:

Let's say I've created a Subversion repository and I've checked it out to some folder F.

F is at this moment empty (it actually has that .svn folder, but that hardly matters). I add a couple of files to F and hit commit.

Now I want to create a branch B. I (through Tortoise) hit the Branch command, but it is asking me for a folder to which to copy my data. I don't have at the moment any folder to which copy the data!

我是通过 git 接触到版本控制系统中的分支的,所以我的思维过程是由 git 分支系统的工作方式决定的。

谢谢

最佳答案

您创建 /branch/tag/trunk 文件夹。是的,之后你就有责任将东西放在适当的位置。

分支在 SVN 中并不特殊;你可以把主干想象成一个分支。

标签特殊的。这些应该被标记为已部署代码的只读快照。

关于svn - 我是否需要使用 Subversion 手动创建主干/和分支/文件夹,或者这些文件夹是他们自己创建的?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5816514/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com