Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I tell what will be updated if I use "Get Latest Version"?

I have a Visual Studio solution and am using TFS for version control.

When I've made a bunch of changes to my working copy of the solution, the Team Explorer window will show me all the files that I've changed, and allow me to compare my version with either the workspace (original) version, or the latest version in TFS.

However, before I check in my changes, I first want to integrate any changes that have been made (by other people) to the latest TFS version since I got the source from TFS.

I could do a Get Latest Version and hope for the best. However, I would generally prefer to know what will be changed, and have the opportunity to look in detail at those changes, before overwriting my local files.

Is there a way to either compare my workspace (original) version against the latest version in TFS, or to see what the effects of a "Get" will be before I actually execute it?

To be useful, this would have to be a at a solution level - I would not want to have to go through each individual file.

like image 574
Gary McGill Avatar asked Jun 12 '15 11:06

Gary McGill


1 Answers

Use Compare... and select Latest Version. That's best executed from the commandline or the Source Control Explorer.

If you compare "Latest Version" (remote) with "Workspace version" (local), then it'll tell you what has changes on the server since the last get-latest.

If you compare "Latest version (remote) with "Latest version" (local), then it'll tell you what has changed both locally and remotely.

like image 74
jessehouwing Avatar answered Nov 15 '22 08:11

jessehouwing