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

17,896

Solution 1

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.

Solution 2

If you navigate to repository you're willing to interact with there's 'Clone' button that gives you all the necessary information to clone the repository.

VSTS - location of <code>Clone</code> button.

This brings up pop up that gives you the URL for repo. Sadly, no option to clone in Visual Studio for Mac (you have to fill the form you found yourself) :/

VSTS clone repository dialog.

Share:
17,896
Admin
Author by

Admin

Updated on June 17, 2022

Comments

  • Admin
    Admin almost 2 years

    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

  • chelder
    chelder almost 5 years
    Once installed, it says: We will support git repositories soon
  • Darth Scitus
    Darth Scitus about 4 years
    This answer is useless. #4 does not exist.
  • djack109
    djack109 over 3 years
    doesnt work. without the user the "clone" option is disabled. with the user the path is invalid. I copied the path from visual studio on my pc