From the course: Visual Studio: Source Control with Git and GitHub

Unlock the full course today

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

Add files: VS

Add files: VS - Visual Studio Tutorial

From the course: Visual Studio: Source Control with Git and GitHub

Start my 1-month free trial

Add files: VS

- [Instructor] We will perform the same actions of adding files to the folder, staging those files and committing those files but this time we'll do it from Visual Studio and I'll be working with this solution and this project. Now, remember, earlier in this chapter, I showed how to create a Git repository in Visual Studio within a folder but going forward, I'll just use this solution. I have this solution called WorkingWithGit and this C# SimpleConsole application. Now, before I add any files, let's check out the status over here in PowerShell. And it tells me that I'm on the master branch and there's nothing to commit. So the next step is to add some files to this project. I'll drag these files over and drop them on the console node, this project node. And you see them here in the Solution Explorer. Let's verify their status over in PowerShell. So this is the same message we saw earlier where it's telling me these…

Contents