Reputation: 91
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.
Upvotes: 9
Views: 24812
Reputation: 31
Follow this steps to connect Azure Devops Git repo with Visual Studio for MAC:
Open or Create a new projeto on Visual Studio and open it.
Go to the Top Menu, Select Visual Studio -> Extensions
Select Gallery and make sure the option All the repositories is set
Under Version Control select Team Foundation Version Control for TFS and Azure DevOps
On the right menu click Install
Once its installed you can find it on the top menu under Version Control -> TFS / Azure DevOps
Upvotes: -4
Reputation: 38096
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.
Upvotes: 8
Reputation: 2165
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.
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) :/
Upvotes: 1