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
After you compare a server folder and a local folder in Team Foundation Version Control (TFVC), you can reconcile the differences between the folder contents and between files that have conflicting pending changes in your local folder. For more information, see Compare folders.
Category | Requirements |
---|---|
Permissions | Read and Check out permissions set to Allow. |
For more information, see Default TFVC permissions.
Note
To reconcile two local folders or files, you don't need Azure DevOps permissions.
In Visual Studio Source Control Explorer, right-click a folder, and then select Compare. The Compare dialog box opens.
In the Compare dialog box, select the folder versions to compare, and then select OK. The Folder Difference window appears.
In the Folder Difference window, right-click the folder or file you want to reconcile, and select Reconcile.
Note
You can select multiple folders and files by holding down the Ctrl key and selecting the items. Also, you can press Ctrl+A to select all folders and files.
The Reconcile Folder Differences window appears.
For Files that are not in your workspace, either select Get Latest Version to download the latest version of the files, or select Ignore to leave these files only on the server.
For Files that are not on the server, either select Add to Server to upload the files to the server, or select Ignore to leave these files only in your local workspace.
For Files that have pending changes, select one of the following options:
For Files that do not have pending changes, select one of the following options:
Select OK.
If you have pending changes in your local workspace that conflict with the server version of a file, and you choose to Get Latest Version of the file, the Resolve Conflicts window appears. For more information, see Resolve Team Foundation Version Control conflicts.
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
Settle competing commits by using merge conflict resolution on GitHub - Training
Learn to settle overlapping commits across branches by using merge conflict resolution.
Documentation
See how to compare two TFVC folders by using the Folder Differences window in Visual Studio.
Folder comparison filters - Azure Repos
Use folder comparison filters to match or exclude file and folder names you're comparing in Team Foundation Version Control (TFVC).