将文件添加到已设置的 svn 存储库

发布于 2024-08-05 02:14:58 字数 119 浏览 3 评论 0原文

我想将一个文件夹添加到设置了 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

拧巴小姐 2024-08-12 02:14:58

您可以将该目录复制到存储库的签出副本中,然后右键单击该文件,转到 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?

夏末 2024-08-12 02:14:58

感谢大家的帮助。你的指点非常有帮助。
以下是我所做的总结:

  1. 从我的远程服务器,我签出了我想要添加文件夹的 svn 存储库
  2. 在签出的存储库(现在在我的本地计算机中)上,我添加了我想要的文件夹。
  3. 右键单击新添加的文件夹(其中包含所有添加的文件)->TortoiseSVN->添加提交
  4. 更改 TortoiseSVN->提交

Thanks for your help everyone. Your pointers were very helpful.
Here is a summary of what I did:

  1. From my remote server, I checked out the svn repository on which I wanted to add my folder
  2. On the checked out repo (now in my local computer), I added the folders that I wanted.
  3. Right click on the newly added folder (on which all the added files are present)->TortoiseSVN->add
  4. To commit the changes TortoiseSVN->Commit
优雅的叶子 2024-08-12 02:14:58
svn import path URL

递归提交 URL 路径的副本。如果省略路径,则假定为当前目录。根据需要在存储库中创建父目录。

svn import path 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.

缘字诀 2024-08-12 02:14:58

如果您在磁盘上添加文件夹的位置已经是存储库部分的工作位置,您只需右键单击该文件夹 -> 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文