Events
17 Mar, 21 - 21 Mar, 10
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
By branching your code base, you can isolate concurrent development efforts and take snapshots. However, when your team members work in a branched code base, they might not know which branches have received which changes and when those changes were merged.
For example, say Feature Team B is waiting for a bug fix. You receive a notification that the bug has been fixed, but you can still reproduce the bug in the builds that come from your branch.
In Team Foundation Version Control (TFVC), you can use the Tracking Changeset window to see which branches have received a set of changes. For example, in the following screenshot, the Tracking Changeset window shows how changeset 108 was merged from the Dev branch to a child branch and then baselessly merged to two other branches:
Category | Requirements |
---|---|
Permissions | - To view changesets: Read permission set to Allow for the branches that you're working with. - To display the timeline view of a changeset: Manage branch object permission must be set to Allow. |
For more information about permissions, see Default TFVC permissions.
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 about how to branch, see Branch folders and files.
On the Visual Studio menu bar, select View > Other Windows > Source Control Explorer.
In Source Control Explorer, select a branch, or select a folder or file that's contained by a branch.
On the File menu, select Source Control, and then select View History.
In the History window, right-click the changeset that you want to view, and then select Track Changeset. The Select Branches dialog appears.
(Optional) In the Branches list, select or clear the branches that you want to show or hide. As you select or clear branches, a preview of your selections appears on the right side of the dialog.
(Optional) If your team has many branches, use the buttons above the preview to easily select the branches that you want. Hover over a button to get information about what it does.
Select Visualize.
Open a work item that's linked to one or more changesets, and then select the Track Work Item button.
The Select Branches dialog appears.
(Optional) In the Branches list, select or clear the branches that you want to show or hide. As you select or clear branches, a preview of your selections appears on the right side of the dialog.
(Optional) If your team has many branches, select the buttons above the preview to easily select the branches that you want. Hover over a button to get information about what it does.
Select Visualize.
The following screenshot shows a changeset in the DinnerNow project:
Tip
You can select a branch that received the changeset, for example, Version2. Then you can see all the merges that were required for the changeset to reach that branch. Those merges appear as dark green arrows.
You can get information about when a changeset was merged to various branches by switching to the timeline view. This view shows the source, target, and time stamp of each merge.
Open the Tracking Changeset or Tracking Work Item window, and then select
Timeline Tracking.
In the earlier example, various standard and baseless merges were visible. When you select
Timeline Tracking, the Tracking Changeset window switches to a view that shows the sequence of the merges:
To merge a changeset or branch into another branch, you can drag the changeset or branch to another branch in the Tracking Changeset window. For more information, see Merge folders and files.
Events
17 Mar, 21 - 21 Mar, 10
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.
Documentation
Version Control - Branching strategies with TFVC - Azure Repos
Learn about branching strategies for Team Foundation Version Control (TFVC) and how to select an effective strategy
Find and view changesets - Azure Repos
See how to find and view changesets in Team Foundation Version Control (TFVC).
Merge folders and files - Azure Repos
Learn how to use the Visual Studio graphical user interface to merge changes made in different branches in TFVC.