Delen via


Manage Pending Changes (Team Explorer Everywhere)

Most changes that you make to your files are queued as pending changes. As you work, you can organize, manage, and get details about what you’ve changed.

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?

  • Use the Pending Changes page to manage your work

  • See what you changed

  • Undo your pending changes

Use the Pending Changes page to manage your work

You can use the Pending Changes page in Team Explorer to manage your work. In Team Explorer, choose Home iconHome, and then choose Pending Changes.

Pending changes page

Every change that you make to the files on your dev machine is stored in your workspace as a pending change until you check it in.

Work with detected changes

If you are working in a local workspace, Eclipse can detect changes that you make outside the system.

If you make changes outside Eclipse to projects that are in your Eclipse workspace, refresh the Package Explorer or Project Explorer to see your changes. Changes will be detected automatically.

If you make changes outside Eclipse to projects that are not in your Eclipse workspace, choose Actions, Detect changes on the pending changes page. Then the Detected changes link appears in the Excluded Changes section. Choose this link if you want to include these changes. The Promote Candidate Changes dialog box appears. You can open the shortcut menu of added items and choose View local folder to display them or Delete from disk to delete them.

Note

Empty folders will not appear.

If items that you don’t need to check in are appearing regularly in the Promote Candidate Changes dialog box, you can select one of them, open its shortcut menu, and choose Ignore this local item to ignore the item. You can also choose Ignore by extension, Ignore by file name, or Ignore by folder to create a file that will cause Eclipse to systematically ignore this kind of file. For more information about .tfignore files, see Add Files to Version Control (Team Explorer Everywhere).

See what you changed

Sometimes you need to remind yourself about what you’ve changed in a file.

To see what you changed from Pending Changes

  • On the Pending Changes page, open the shortcut menu for the item and choose:

    • Compare with Workspace Version to see what you’ve changed to the version in your workspace

    • Compare with Latest Version to see how your changes compare to the latest version of the file in your team’s codebase

To see what you changed from Package Explorer or from Source Control Explorer

  1. Locate and select the item in Package Explorer or in Source Control Explorer.

  2. Open the shortcut menu for the item, and then choose Compare.

  3. On the Compare dialog box, from the Version drop-down list, choose:

    • Workspace Version to see what you’ve changed to the version in your workspace

    • Latest Version to see how your changes compare to the latest version of the file in your team’s codebase

    • One of the other options: Changeset, Date, or Label.

  4. Choose OK.

Undo your pending changes

You can discard one, a few, or all of the pending changes in your workspace.

Note

Also, you can first put the changes away in a shelveset on your server before removing them from your workspace.

To undo a few of your pending changes

  1. On the Pending Changes page, or in Source Control Explorer, select one or more items, open their shortcut menu and choose Undo or Undo Pending Changes.

  2. In the Undo Pending Changes dialog box, make sure the changes you want to undo are selected, and then choose Undo Changes.

To undo all your pending changes

  • On the Pending Changes page, choose the Actions link, and then choose Undo All.

See Also

Concepts

Team Foundation Server Plug-in for Eclipse - Beginner's Guide