From the course: Visual Studio: Source Control with Git and GitHub
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Initialize a new repository: VS solution - Visual Studio Tutorial
From the course: Visual Studio: Source Control with Git and GitHub
Initialize a new repository: VS solution
- [Instructor] Now it's time to look at how to add an existing solution and project to a Git repository. You can see I've already created a simple solution called WorkingWithGit that has one project called SimpleConsole and I created this by going to File, New Project, choosing to build a console application, and then naming our project SimpleConsole and my solution WorkingWithGit, and then I put it in this VS folder. And you can see it over here in File Explorer. There's my SLN file, there's my simple console file, and what I want to do is add that Git folder here. So what I do is I go to Visual Studio, right click on the solution, and choose to Add the Solution to Source Control. And you'll see several things happen. Over in File Explorer, we see the new .git folder, we see the .gitattributes and .gitignore files, the same as the previous example in a previous video, and then over in Visual Studio there's some new…
Contents
-
-
-
-
Initialize a new repository: PowerShell3m 22s
-
(Locked)
Initialize a new repository: VS folder3m 29s
-
(Locked)
Initialize a new repository: VS solution2m 28s
-
(Locked)
Initialize a new repository: GitHub1m 42s
-
(Locked)
Add files: PowerShell3m 29s
-
(Locked)
Add files: VS4m 15s
-
(Locked)
Rename files: PowerShell1m 26s
-
(Locked)
Move files: PowerShell1m 13s
-
(Locked)
Delete files: PowerShell39s
-
(Locked)
File operations: VS1m 28s
-
-
-
-
-
-
-
-
-
-