You can use any of the following commands to obtain more information about version-controlled items in the Team Foundation version control server and all of the workspaces that map to it.
Displays a list of the files and folders in the Team Foundation version control server directory.
Displays information about the users and groups of users who are allowed to perform actions against an item or set of items in the Team Foundation version control server.
Displays information about pending changes to items in one or more workspaces.
Displays the branch history of a specified file or folder.
Displays information about and enables you to make changes to the attributes, that are associated with a changeset, such as comments and check-in notes.
Displays the list of labels in the Team Foundation version control server.
Displays the version of one or more items in a workspace.
Displays information about a version-controlled file or folder including path, local version, size, file type, and lock status.
Displays information about a set of shelved changes. You can also use this command to compare a shelved revision to its base shelveset version without unshelving the item into your workspace.
Help Command (Team Foundation Version Control)
Displays detailed information about a Team Foundation version control command.
Compares and, if possible, displays differences between two files or two folders.
Displays information about all workspaces in the system.
Creates, modifies, or displays information about the mappings between your workspace folders and the Team Foundation version control server folders to which they correspond.
Other ways to get information
You can obtain information about version-controlled items indirectly, by combining common commands with informational options.
- tf get /preview
You can use the /preview option to issue the Get command without making updates to the local workspace in order to see what would happen if you were to perform an actual get.