From the course: Visual Studio 2019 Essential Training

Unlock the full course today

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

Use checkout to open exercise files from Git branches

Use checkout to open exercise files from Git branches - Visual Studio Tutorial

From the course: Visual Studio 2019 Essential Training

Start my 1-month free trial

Use checkout to open exercise files from Git branches

- [Instructor] The first time you open a Git repo, you'll be looking at the state of the repository of the master branch. To see which branch we're in in Visual Studio, look at the bottom-right of Visual Studio. Down here in the status bar, you can see that this is the repository that I have open, and I'm working in the master branch. There's also some other information here, which is not important at the moment. But this is our status of the repository. So the idea is there's multiple branches, and they're available on the remote repo, but I don't have them here yet in Visual Studio. So let's change that. I'll right-click here and choose Manage Branches, and then this is my local repo, it shows I have one master branch, and this shows my remote. And if I open this up, I can see there's multiple branches in here. The way we're using branches is there's one branch per video, and they're numbered based on the chapter and the video number. So I've got chapter six, video one; chapter six,…

Contents