将文件添加到已设置的 svn 存储库
我想将一个文件夹添加到设置了 svn 存储库的远程服务器。在我的本地计算机上我有 tortoiseSVN。我想要做的就是将本地计算机中的文件夹添加到远程目录中的存储库设置中?有什么指点吗?你可以看出我不是一个 svn 人:(
I want to add a folder to a remote server with the svn repository set up. In my local computer I have tortoiseSVN. All I want to do is add folder from my local computer to the repo setup in the remote directory? ANy pointers? You can tell I'm not a svn person :(
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可以将该目录复制到存储库的签出副本中,然后右键单击该文件,转到 TortoiseSVN,然后选择“添加”。这会将文件夹添加到您的存储库中,然后提交更改(右键单击并选择 SVN 提交),然后您应该就可以了。
如果这还不足以回答您的问题,我深表歉意。
得到了艾米,
只要远程服务器包含颠覆存储库,这应该可以工作。远程服务器上正在运行的是什么让您认为会出现问题?
You can copy the directory into your checked-out copy of the repository, then right click on the file, go to TortoiseSVN, and select add. This will add the folder to your repo, then commit the change (right click and select SVN Commit), and you should be good.
If that isn't sufficient for your question, I apologize.
GotAmye,
As long as the remote server is housing a subversion repository, this should work. What is running on the remote server that makes you think there will be a problem?
感谢大家的帮助。你的指点非常有帮助。
以下是我所做的总结:
Thanks for your help everyone. Your pointers were very helpful.
Here is a summary of what I did:
递归提交 URL 路径的副本。如果省略路径,则假定为当前目录。根据需要在存储库中创建父目录。
Recursively commits a copy of path to URL. If path is omitted the current directory is assumed. Parent directories are created as necessary in the repository.
如果您在磁盘上添加文件夹的位置已经是存储库部分的工作位置,您只需右键单击该文件夹 -> TortoiseSVN -> 添加
Well if the location that you added the folder to on disk is already the working location for part of the repository you can simply right click the folder ->TortoiseSVN->Add