How do I connect Visual Studio for Mac OS to Azure Dev Ops/VSTS?

FreeSMIME Support picture FreeSMIME Support · Sep 14, 2018 · Viewed 14.2k times · Source

I have a project in Azure Dev Ops that I need to connect to and I'm using Visual Studio for Mac.

Usually on the PC I can click Version Control or project and browse to it, and then sync. However, I don't see that.

In addition when I look at the project in the website, I don't see any URL that I can use to paste into the repository config.

VSTS config screen image

Answer

Marina Liu picture Marina Liu · Sep 15, 2018

To connect Azure Devops Git repo with Visual Studio for MAC, you can follow below steps:

In VS for Mac -> Version Control -> Checkout -> enter the Azure Devops Git repo URL and specify target directory -> checkout.

  • For Azure Devops Git repo URL, you can use either of following:

    • https://account.visualstudio.com/project/_git/repo
    • https://[email protected]/account/project/_git/repo
  • For connecting credential, you can use PAT for Alternate credential.

Besides, you can also refer the document Checkout an existing repository.