如何在Visual Studio中更改SVN URL [英] How can I change the SVN URL in Visual Studio

查看:532
本文介绍了如何在Visual Studio中更改SVN URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的办公室中,我有一个可用的存储库,可以在我的笔记本电脑上工作,以修改文件并将其提交到该存储库.我为此使用了本地URL,该URL直接指向包含该存储库的PC.此外,我们还为外部用户发布了此存储库,因此他们可以在不使用本地网络的情况下对存储库进行更改.那里一切都很好.但是,通常使用本地连接的笔记本电脑现在需要移动到这些外部位置之一.我希望能够在Visual Studio的解决方案中更改URL,而不必从SVN创建项目"

In my office, I have a working repository, where I am able to work on my laptop to modify files and commit them to that repository. I am using a local URL for this, which points directly to the PC containing the repository. Additionally, we published this repository for external users as well, so they are able to make changes to the repository without being on our local network. All is working fine there. However, my laptop which normally using the local connection, now needs to be moved to one of those external locations. I would like to be able to change the URL in my solution in Visual Studio, without having to 'create project from SVN'

推荐答案

导航至视图->待更改.

Navigate to View -> Pending Changes.

您将在底部看到Pending Changes提示,然后选择右上角的下拉菜单并选择其他选项.提供新的URL,然后单击确定"按钮.

You can see the Pending Changes prompt at the bottom.Then Select the drop down on the top right and select other option. Provide the new URL and click on OK button.

完成!

这篇关于如何在Visual Studio中更改SVN URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆