Before reading this article, please read the previous articles so that you can understand Azure DevOps. The list of previous articles is provided below.
- What Is New In Azure DevOps
- How To Add .NET Project Into Azure DevOps Git Repo
- An Overview Of Artifacts In Azure DevOps
In my previous article, we learned how to add our code to Azure DevOps Repos. This article will teach us how to clone an existing repository and work collaboratively with the Team.
Create a complete local copy of an existing Git repo by cloning it. Cloning a repo downloads all the commits and branchesin the repo and sets up a named relationship with the existing repo you cloned. Use this relationship to interact with the existing repo, pushing and pullingchanges to share the code with your team.
How to clone the URL to your repo ?
Open your Azure DevOps accountand choose Repos and Files as shown below.

From the upper right corner, click Clone and from the pop-up, select and copy the URL.

Go to your Visual Studioand from the Team Explorer tab, click on "Connect to Project", as shown in the below screen.

It will ask you to log in, so just enter your credentials and log in.


On the "Connect to Project" dialog, select the repo you want to clone from the list. Here, Ihave selected csharpcorner.visualstudio.com and 'GitDemo' repo.

Next, click "Connect".













KumarPosted Jul 12, 2019, 6:32 AM
Nice Article...can you please provide me the link for the "what Branch and Merge are in Azure DevOps."....i don't find the articles for this. Thank you.
Jitendra WaghalePosted Sep 26, 2018, 2:05 PM
Nice Article!!