Find and view changesets
When you check in your changes, they are stored on the server as a changeset. Changesets contain the history of each item in version control.
You can view a changeset to get information about:
which files were changed
what the exact changes were
who changed the files
what the check-in comment contains
which work items are associated with the changeset
which policy warnings appeared
Required Permissions
You must be one of the Contributors for your team project. See TFS default groups, permissions, and roles [redirected].
What do you want to do?
View a changeset
Find a changeset
Work from the command prompt
Get tips
View a changeset
Go to a changeset from Source Control Explorer
In Source Control Explorer, press Ctrl + G.
The Go to Changeset dialog box appears.
Type the number of the changeset and choose OK.
If you don’t know the number, choose Find. See Find a changeset.
View details for changesets from the History window
In Solution Explorer or Source Control Explorer, browse to the folder or file, open its shortcut menu, and choose View History.
In the History window, select the row that contains the changeset for which you want to view details, open its shortcut menu, and then choose Changeset Details.
The Changeset Details page appears in Team Explorer.
Tip
-
You can undock the Pending Changes page from Team Explorer and open it in a new window.
-
You can toggle between tree and list view from the Actions menu.
Next steps
On the Changeset Details page, choose:
Rollback to remove the effects of the changeset. See Roll back changesets.
Track to determine which branches have and have not received a set of changes. See View where and when changesets have been merged.
Actions, Request Review to request a code review. See Day in the life of an ALM Developer: Suspend work, fix a bug, and conduct a code review.
Actions, Open in Browser to view the changeset in your browser (for example, if you want to copy the URL into an email to discuss the change with your team).
Find a changeset
To find a changeset
In Source Control Explorer, on the menu bar, choose File, Source Control, Find, Find Changesets.
The Find Changesets dialog box appears.
(Optional) Next to the Containing File box, choose Browse.
(Optional) In the By User box, type the alias or the name of the team project team member who is associated with the changeset.
(Optional) In the Range section, choose one of the following options:
All changes Retrieves all changesets that were applied to that file or folder.
Changeset number Retrieves changesets from a range of numbers. In the from and to boxes, type the range.
Created date Retrieves changesets from a range of dates. In the between and and boxes, use the calendars to specify start and end dates.
Choose Find.
Changesets that match your criteria appear in the Results list.
Select the changeset for which you want information, and then choose Details.
The Details for Changeset dialog box appears.
In the Details for Changeset dialog box, view the change types that were added and any comments, work items, check-in notes, and policy warnings that are associated with the changeset.
Close the Details for Changeset dialog box.
Choose OK.
Work from the command prompt
To find a changeset from the command prompt:
c:\users\jamal\workspaces\fabrikam>tf changeset
To view or modify changesets and to learn about other options, see Changeset Command.
Tips
You can download the version of a file in a changeset. See Download (get) files from the Server.
You can add a link between a changeset and one or more work items. See Link work items to support traceability.