Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019
Visual Studio 2019 | Visual Studio 2022
As a project grows, its branch structure typically also grows and becomes more complex. You and your team members might need answers to the following questions:
The following procedures explain how to use Team Foundation Version Control (TFVC) to answer these types of questions.
Category | Requirements |
---|---|
Permissions | Read permission set to Allow. |
For more information, see Default TFVC permissions.
You can use the Hierarchy window to perform the following tasks:
Important
You can perform these procedures on a branch but not on a folder. In the following screenshot, BuildProcessTemplates is a folder, and Dev is a branch.
For more information, see Branch folders and files.
In Visual Studio, on the View menu, select Other Windows > Source Control Explorer.
In Source Control Explorer, select the branch that you want to explore the structure of.
On the File menu, select Source Control > Branching and Merging > View Hierarchy.
By default, when you open the Hierarchy window, you see the hierarchy for the branch that you opened the window from. The view includes the ancestors and descendants of the branch.
The following screenshot shows the Hierarchy window for the DinnerNow Test branch:
Use the following options to modify your view of the hierarchy:
On the Show menu, select any of the following views:
Tip
If you want to see the full hierarchy for every version control path in your project, select All hierarchies. This view includes hierarchies that are outside the scope of the active project in Source Control Explorer.
Next to the Show menu, select the Customize branch list button to individually select the specific branches that you want to see.
The Select Branches dialog appears.
To fine-tune the details of your diagram, select a specific branch and then select one of the following controls:
After you view the branch hierarchy, you might need more information, or you might be ready to take some action. You can right-click any branch in the Hierarchy window and take any of the following steps:
Select Properties to view information about the branch, including its path, who owns it, and who has permissions to work with it. The Owner field is only for information. The person that's named in the Owner field doesn't necessarily have extra permissions.
Select an action such as Branch, Merge, Compare, or Open in Source Control Explorer.
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Manage changes to your Bicep code by using Git - Training
Learn how to use Git version control with your Bicep files and infrastructure as code.
Certification
Microsoft Certified: DevOps Engineer Expert - Certifications
This certification measures your ability to accomplish the following technical tasks: Design and implement processes and communications, design and implement a source control strategy, design and implement build and release pipelines, develop a security and compliance plan, and implement an instrumentation strategy.
Documentation
Branch folders and files - Azure Repos
Branch folders and files
Create a new Git branch from the web - Azure Repos
Learn about Git branches and how to create a new branch in your local Git repo, Azure Repos Git repo, and GitHub.
Manage branches in your Git repo - Azure Repos
Find your work and search for branches using the branches page in Azure DevOps.