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!?!?!
Sign in to your organization: https://dev.azure.com/{yourorganization} . Organization settings. Select Users. Open the context menu ... for the user to be removed.
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.
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.
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"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With