Home > Blockchain >  Mapping local folders to Azure DevOps Git Repos in Visual Studio
Mapping local folders to Azure DevOps Git Repos in Visual Studio

Time:01-08

I reinstalled my machine and loaded fresh Visual Studio 2019. I already have local repos on my hard disk and want to re-connect/re-map local repos (root folder) with the existing Azure DevOps remote repos root. Please help.

Here is what I tried so far.

I singed into the Visual Studio using the creds that I use to access remote repos, selected the remote organization node from "Connect to a Project" window. Here the only option I see is "Connect" only.

enter image description here

When I connected the remote org, the Visual Studio source control setting changed from Git to older TFS and Git menu disappeared.

enter image description here

I changed the source control setting back to the Git and still not able to find any way to configure/map existing local repos with the remote repositories.

enter image description here

CodePudding user response:

The last screenshot is telling you what's going on: You don't have to do anything special. The Git repos already have a remote pointing to Azure DevOps. Just open the project and work normally. Everything's still connected. You might have to re-authenticate, but the Git credential manager will take care of that.

  •  Tags:  
  • Related