简体   繁体   English

Visual Studio 2019 删除了 azure devops 连接

[英]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团队资源管理器连接

团队资源管理器连接

For Visual Studio 2022对于 Visual Studio 2022

Git menu > Manage Remotes Git 菜单 > 管理遥控器

Opened window > select repository > remove打开的窗口 > 选择存储库 > 删除

在此处输入图像描述

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从 Visual Studio 2019 中删除 TFS 连接 - Remove TFS Connection From Visual Studio 2019 Azure DevOps 项目现在出现在 Visual Studio 2019 中 - Azure DevOps Project Now Showing up in Visual Studio 2019 在 Visual Studio 2019 社区中克隆 Azure DevOps 存储库时遇到问题 - Having problems cloning a Azure DevOps repository in Visual Studio 2019 Community Azure DevOps 2019 查看 Visual Studio 中的构建过程 - Azure DevOps 2019 view build process inside Visual Studio 从 Azure DevOps UI 克隆 git repo 启动 Visual Studio 2017 而不是 Visual Studio 2019 - Clone git repo from Azure DevOps UI launches Visual Studio 2017 instead of Visual Studio 2019 Visual Studio 2019 - Azure DevOps 的旧凭据已缓存,我们无法摆脱它 - Visual Studio 2019 - old credential for Azure DevOps is cached and we can't get rid of it Visual Studio 2019想要使用Git代替ZD74BD0B0B0B08FF455569D4711471114145FB3336Z,也想使用Z3A580F14220367F137F137F138BC38BC38BC38BC38BC38FBC38FBC38FBC38FBC38FBC38FBC38FBC38FBC38FB C - Visual Studio 2019 wants to use Git instead of TFS and also wants to use Azure DevOps server instead of TFS Visual Studio 2019,使用 Azure Devops 上的运行设置进行 UI 测试视频捕获,wmv 0 字节 - Visual Studio 2019, UI test video capture using runsettings on Azure Devops, wmv 0 bytes 不了解在 Visual Studio 2019 中使用 Git 分支(从 Azure DevOps 集成) - Not understanding working with Git branches (integrated from Azure DevOps) in Visual Studio 2019 无法从Visual Studio 2017为Azure DevOps Server 2019创建团队项目 - Can't create a Team Project for Azure DevOps Server 2019 from Visual Studio 2017
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM