Bagikan melalui


Submitting Changes

You can check in changed files into the version control server by using the Pending Changes window or the Check In dialog box. Changes are checked in as a group and tracked on the server as a changeset. During a check-in, you can add explanatory comments, associate work items with the changeset, and review adherence to check-in policy. Various aspects of the check-in process can be customized by your administrator.

How the Check-in Process Works

When you initiate a check-in operation, the source file updates either succeed as a group or fail as a group. If any of the changes in the list of pending changes cannot be submitted to the server (for example, because of a conflict), none of the changes are committed and a changeset is not created.

During a check-in operation:

  • Compliance with check-in policy is validated.

  • The changes are committed to the server as a changeset, and the changeset number is displayed.

  • Files that were checked out are returned to a read-only state. Your changes appear in the server and can be retrieved by other users.

  • E-mail is delivered to team members who have subscribed for check-in notification.

  • Work items are updated.

Customizing the Check-in Process

A Team Foundation administrator can configure the check-in notes and check-in policies that apply to a given team project. For more information, see Walkthrough: Customizing the Check In Experience.

In This Section

Description

Supporting content

Describes the types of locally-persisted changes and how to manage them.

Pending Changes

Explains the tasks that you can accomplish by using the Check in dialog box to work with pending changes, changesets, shelve command and alerts.

Using the Check In and Pending Changes Windows

Check In Pending Changes that Are Controlled by a Gated Check-in Build

Describes options to check in pending version control changes by using the Check in dialog box.

Check In Pending Changes

Explains how to use the Check-in Notes channel in the Check in dialog box.

Associate Check-in Notes with Changesets

Explains how to use the Work Items channel in the Check in dialog box.

Associate Work Items with Changesets

Explains how to check in pending changes despite warnings in the Policy Warnings channel.

Override a Check-In Policy

Describes the steps used to view work item details from the check in and Pending Changes window from the work item channel.

View Work Item Details from Pending Changes Window

Explains how to view and make decisions regarding all the pending check-in changes in a workspace.

View and Manage All Pending Changes in Your Workspace

Explains how to view and make decisions regarding pending check-in changes in workspaces other than the one that you are currently working with.

View Pending Changes in Other Workspaces

Explains the steps that you perform to undo pending changes.

Undo Pending Changes

Explains how to use the Rollback command to negate the effect of one or more changesets to one or more items.

Roll Back Submitted Changes

Reference

Team Foundation Version Control Command-Line Reference

See Also

Tasks

Resolve Conflicts between Two Files

Concepts

Using the Check In and Pending Changes Windows

Working with Changesets

Pending Changes