Find and view changesets

Last Update: 9/26/2016

Team Services | TFS 2015 | Visual Studio 2015 | Visual Studio 2013

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.

Version Control Changesets 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 Team Foundation Server default groups, permissions, and roles.

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.

    Go to Changeset dialog box

    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

  1. In Solution Explorer or Source Control Explorer, browse to the folder or file, open its shortcut menu, and choose View History.

  2. 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.

Changeset Details page

  • You can Undock 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.

  • 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

  1. In Source Control Explorer, on the menu bar, choose File, Source Control, Find, Find Changesets.

    The Find Changesets dialog box appears.

    Find Changesets dialog box

  2. (Optional) Next to the Containing File **box, choose **Browse.

  3. (Optional) In the By User box, type the alias or the name of the team project team member who is associated with the changeset.

  4. (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.

  5. Choose Find.

    Changesets that match your criteria appear in the Results list.

  6. Select the changeset for which you want information, and then choose Details.

    The Details for Changeset dialog box appears.

    Details for Changeset dialog box

  7. 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.

  8. Close the Details for Changeset dialog box.

  9. 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.