From the course: Visual Studio Tools for Azure DevOps

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Add a Visual Studio project to a new local repository

Add a Visual Studio project to a new local repository

From the course: Visual Studio Tools for Azure DevOps

Start my 1-month free trial

Add a Visual Studio project to a new local repository

- [Instructor] So far, in our look at Git tools, we've worked with this simple file and folder-based example, the one shown in Visual Studio on the right side of the screen. This doesn't look like the standard Visual Studio solution and project-based templates that are shown on the left side of the screen. The example on the right is using Git for version control, and it has a remote repo located on the Azure DevOps server. Let's add the solution on the left to Git. Now, this is a brand-new project I created by going to File, New, Project. Choosing Web, picking this top item, the ASP.NET Core Web Application. Giving it a name, and picking the razor page templates. So I've got this project, it's not under Git Source Control yet. But that's easy to fix by right-clicking and choose Add Solution to Source Control. Now you can see the symbols show up here that says I have got it under Git Source Control, and it's also been saved and committed to my local repository. Now, the reason it used…

Contents