Update File Versions in Your Workspace (Team Explorer Everywhere)
Use the Get command to update the version from the server to the local workspace. The Get command is available through Source Control Explorer, Solution Explorer, or a command prompt. For more information, see Working with Team Foundation Server Workspaces (Team Explorer Everywhere).
A get action will copy files to the local computer if you do not have them already. If the files are already there, a get action will update them if they have changed. You can optionally force an update even if the files already exist. This action is only necessary if your local workspace has somehow become damaged.
To perform these procedures, you must have the Read permission set to Allow. For more information, see the following topic on the Microsoft Web site: Team Foundation Server Permissions.
To update the version in your workspace from Source Control Explorer, Project Explorer, or Package Explorer
Perform one of the following tasks:
Open Source Control Explorer. For more information, see Open Source Control Explorer.
In Source Control Explorer, right-click the folder or file for which you want to update the version to the local workspace and click either Get Latest Version to retrieve the most recent version of the item, or Get Specific Version.
In Project Explorer or Package Explorer, expand the Eclipse project for which you want to update files or folders. Right-click the file or folder that you want to update, point to Team, and click either Get Latest Version to retrieve the most recent version of the item, or Get Specific Version.
If you clicked Get Specific Version, the Get dialog box appears. In the Version area, in the Type list, specify how you want to update the file or folder:
Changeset - Get a version based on a changeset.
You must also specify or browse for the changeset.
Date - Get a version based on a date. If selected, select a date in the Date list.
Label - Get a version based on a label.
You must also specify or browse for the label.
Latest Version - If selected, updates with the latest version on the Team Foundation version control server.
Workspace Version - Gets a version based on a local Team Foundation Server workspace. You might specify this if you want to get a version that you have in a different workspace, or to get a version that another developer has. By doing this, you could investigate an issue that exists in a specific version of the file, without having to know the specific changeset.
If you specify Workspace Version, you must also specify the workspace whose version you want to get.
(Optional) Select Force get of file versions already in the workspace to copy the specified version of all files, even those that already exist in the local workspace. You typically only need to use this option if the files in your workspace have somehow become damaged.
(Optional) Select the Overwrite writable files that are not checked out check box to allow the system to overwrite existing files that are not read-only and that are not checked out.
Click Get to complete the update of the specified files and folders.
To update the version in your workspace from a command prompt
Open a command prompt.
Navigate to the folder that is used to store your personal copy of the files on the server, for example, c:\projects.
Type tf get ItemName and then press ENTER.
For the full syntax available for the Get command, see the following topic on the Microsoft Web site: Get Command (Team Foundation Version Control).