Partilhar via


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.

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

    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

Tip

  • 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:

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.

Tips