[英]visual studio 2019 remove an azure devops connection
In visual studio 2019 Team Explorer, I want to completely remove the connection to a azure devops project, but there is not remove button/menu item.在 Visual Studio 2019 Team Explorer 中,我想完全删除与 azure devops 项目的连接,但没有删除按钮/菜单项。 The project is based on git and I don't care what happens to the local repo.
该项目基于 git,我不在乎本地 repo 会发生什么。 I can delete it manually.
我可以手动删除它。 I just want visual studio to forget it was ever connected to that project.
我只是想让视觉工作室忘记它曾经与那个项目相关联。
I can't believe there is not simple way to disconnect from a project!?!?!我不敢相信没有简单的方法可以从项目中断开连接!?!?!
You can right-click the repo you want to remove, and then select the Remove option.您可以右键单击要删除的存储库,然后选择“删除”选项。 It should be noted that once a repo is added, VS cannot remove the repo by default unless there is another repo, eg in the figure below, I also have a local repository below.
需要注意的是,一旦添加了一个repo,除非有另一个repo,否则VS默认无法删除repo,例如下图中,我下面还有一个本地存储库。 You have to switch to another repository to remove the current one, otherwise the displayed remove option will be unusable.
您必须切换到另一个存储库才能删除当前存储库,否则显示的删除选项将无法使用。
Repeating the comment below because it's easier:重复下面的评论,因为它更容易:
If you go to Team in the menu and select 'Disconnect from Server', then you are allowed to delete a connection without the need of creating a new connection"
如果您进入菜单中的团队并选择“与服务器断开连接”,则允许您删除连接而无需创建新连接”
You can click on the plug icon in Team Explorer.您可以单击团队资源管理器中的插件图标。 You should land on the tab "Connect" where you find a link "Manage Connections".And then choose "Connect to a project" and you will get a dialog with all your connections.
您应该登陆“连接”选项卡,在其中找到“管理连接”链接。然后选择“连接到项目”,您将看到一个包含所有连接的对话框。 With the "Add TFS Server" link above the list of connections you can add and remove TFS server instances.
使用连接列表上方的“添加 TFS 服务器”链接,您可以添加和删除 TFS 服务器实例。 Or you can remove the connection in the displayed connections.
或者您可以在显示的连接中删除连接。 Team Explorer Connections
团队资源管理器连接
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.