From the course: Visual Studio Tools for Azure DevOps
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Create a branch
- [Instructor] One nice feature of Git is its easy branching and merging tools. We've been working with Master, the repository's main branch. On the Visual Studio status bar, you can see the Git repository and the current branch. When a team member wants to build a new feature or experiment with new ideas, that's a good use case for making another branch. That's as easy as clicking here and choosing New Branch. This branch will be based on Master. I'll give this a new name, then click on the Create Branch. I also want to check out the branch so that I can start working with the code in the new branch. Now in this dropdown, I've got two branches available. I can switch back to Master, or I can switch to Experiment. That's how quick and easy it is to switch between the two of them. Now let's go make some changes. I'll go over here, I'll add a new file to the source. I'll add Demo.css, commit my changes, Commit and Push. It's going to push the branch. Another way you can push the branch…
Contents
-
-
-
-
What are Azure Repos?2m 38s
-
(Locked)
Connect to Azure Repos in the Team Explorer1m 16s
-
(Locked)
Add application code to an Azure Git repository3m 24s
-
(Locked)
Connect to Azure Repo as another team member1m
-
(Locked)
Commit changes as another team member2m 1s
-
(Locked)
Use Git commands from Solution Explorer1m 27s
-
(Locked)
Commit local before sync55s
-
(Locked)
Sync changes with a remote repository2m 33s
-
(Locked)
Create a branch1m 39s
-
(Locked)
Add a Visual Studio project to a new local repository2m 27s
-
(Locked)
Create an Azure DevOps project from existing Visual Studio project1m 39s
-
-
-
-