我有一个包含代码的文件夹,我需要将其绑定到 svn 存储库
我将一些代码复制到新机器上,现在我需要将该代码添加到 svn 源代码控制存储库。如果我进行签出,它会覆盖现有文件夹中的文件还是检查存在的文件,将其添加到源代码管理中并仅更新过期的文件?我是通过互联网连接到另一个城市的办公室来执行此操作的,代码非常广泛,我们必须处理严重的数据上限(每月 10 GB),所以我不能只从服务器,这就是为什么我将代码复制到存储介质上以放在我的本地工作计算机上。我是前 MS TFS 用户,所以 svn 相对较新。
我希望我已经把这个问题说得足够清楚了,感觉有点笨拙。
更新 好的,所以我有一个更新,svn 似乎更新信息图标有点慢,如果我从主父文件夹深入 1 个子文件夹,我可以看到子文件夹链接到 svn,但不是父文件夹...任何原因为此?
I copied some code on to a new machine and now I need to add that code to the svn source control repository. If I do a checkout, will it overwrite the files in the existing folder or check what exists, add it to source control and only update what is out of date? I am doing this over my internet connection to my office in another city, and the code is extensive and we have to deal with crippling data caps (10 gig a month) so I can't just do a checkout of all new code from the server, which is why I copied the code on to a storage media to put on my local working machine. I am an ex MS TFS user, so svn is relatively new.
I hope I have worded this question clearly enough, it feels a little clunky.
update
Ok, so I have an update, svn seems to update the info icons a little slowly, if I go 1 child deep from the main parent folder I can see the subfolders are linked to svn, but not the parent folder... Any reason for that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查存储库中的更改。如果不存在冲突,它将通过将代码的更改部分移动到服务器来更新存储库。如果出现任何冲突,请查找导致问题的文件。获取它们并将您的更改合并到其中,然后进行签入(或提交)。
Check in your changes in the repository. If no conflicts exist, it will update the repository just by moving the changed parts of the code to the server. In the case of any conflicts, find the files that cause the problem. Get them and merge your changes into them, then do a check-in (or commit).