Azure DevOps : Clone repository in Visual Studio 2019 - Part 4

Let's start using repository. I am using Visual Studio 2019 but it is not mandatory. You can use any tool that allow you to clone repository. ( Git tool information)

  • Get repository url for clone. 7.png

  • Start of Visual Studio 2019. There is following screen will display. Choose Clone or Checkout code. 6.png

  • Now configure following option as per your need. Provide repository url get at first step and location of repository in local machine. Click Clone button. It will ask for credential. 1.png

  • Once clone get completed you can see readme.md in your solution.

  • Now create new project. ( I am using asp.net core project. SDK 2.2). On creation please select repo folder properly. 8.png

  • Once project successfully configured you can see screen like following. Here you observe following things. Current repository ( Local repository name) , Branch name ( master) and other option like no of changes are pending etc. ( Right-Botton corner). Top-right corner you can see projects detail.

4.png

  • Now Click on Team Explorer.
  • Click on "Changes". Commit all changes as "Initial commit". ( Commit all and Sync would be good if you don't know much about git).

3.png

  • Once change successfully sync ( Push ) to remote branch. You can have following view.

9.png