Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. The project is based on git and I don't care what happens to the local 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!?!?!

like image 452
RSxx Avatar asked Jun 09 '19 08:06

RSxx


People also ask

How do I remove a user from Azure DevOps?

Sign in to your organization: https://dev.azure.com/{yourorganization} . Organization settings. Select Users. Open the context menu ... for the user to be removed.

How do I delete a remote from Azure DevOps?

Open your repo on the web and select the Branches view. Locate your branch on the branches page. If you don't see it, select All to view all branches and filter the branches using the Search all branches box in the upper right. Select the trashcan icon next to the branch you want to delete.


1 Answers

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, e.g in the figure below, I also have a local repository below. You have to switch to another repository to remove the current one, otherwise the displayed remove option will be unusable. enter image description here

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"

like image 96
Hugh Lin Avatar answered Nov 05 '22 18:11

Hugh Lin