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 - Visual Studio Tutorial
From the course: Visual Studio: Source Control with Git and GitHub
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
-
-
-
-
Initialize a new repository: PowerShell3m 22s
-
Initialize a new repository: VS folder3m 29s
-
Initialize a new repository: VS solution2m 28s
-
Initialize a new repository: GitHub1m 42s
-
Add files: PowerShell3m 29s
-
Add files: VS4m 15s
-
Rename files: PowerShell1m 26s
-
Move files: PowerShell1m 13s
-
Delete files: PowerShell39s
-
File operations: VS1m 28s
-
-
-
-
-
-
-
-
-
-