Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2019: how to save your project to Azure DevOps?

I am new to Visual Studio and Azure DevOps. I have created an ASP.NET and C# project on Visual Studio, and now I want to save it to an Azure DevOps repo. This repo exists and I have access to it.

How to save this project to that repo from within Visual Studio 2019?

Apologies if it sounds silly but I could not find a decent tutorial showing this.

like image 657
Zizzipupp Avatar asked Oct 15 '19 08:10

Zizzipupp


1 Answers

  1. Navigate to the Push view in Team Explorer by choosing the Visual Studio Unpublished Changes Status Bar icon in the status bar enter image description here. You can also select Sync from the Home view in Team Explorer.

  2. In the Push view in Team Explorer, select the Publish Git Repo button under Push to Visual Studio Team Services.

    enter image description here

  3. Verify your email and select your account in the Team Services Domain drop-down.

  4. Enter your repository name and select Publish repository.

    enter image description here

This creates a new project in your account with the same name as the repository. To create the repo in an existing project, click Advanced next to Repository name and select a project.

  1. Your code is now in a Git repo in Azure Repos. You can view your code on the web by selecting See it on the web.

    enter image description here

like image 194
Shayki Abramczyk Avatar answered Oct 11 '22 08:10

Shayki Abramczyk