Share via


How to: Check In Changes to an Item

Visual SourceSafe supports the Check In command, which you can use to check a modified file or project in to the database. This command copies your changes into the database, creating a new version of the file or project and updating the master copy. When other users get the latest version of the item they receive the latest version, with all the modifications you have made.

When multiple checkouts are enabled, if you are the first user to check a file into the database, your version of the file becomes the latest version. When the next user of the file checks it in to the database, Visual SourceSafe performs an automatic merge, creating a new file as the latest version and informing you of the merge operation. You can either check the file in immediately or keep the merged file in your working folder and review it before returning it to the database. If there are merge conflicts, you cannot check in the file until you resolve the conflicts. See How to: Reconcile File Differences.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To check in changes:

  1. In Visual SourceSafe Explorer, select the item(s) to check in. You can use standard Windows procedures to select multiple items of the same type, for example, multiple files.

  2. On the Versions menu, click Check In.

  3. In the Check In dialog box, select the Keep checked out check box if you want to update the master copy of the item but still keep it checked out.

    Note

    You can make this the default behavior by selecting the Always Keep Files Checked Out check box on the General tab in the SourceSafe Options dialog box.

  4. You can enter an optional comment in the Comment box describing changes that you have made to the item(s).

  5. Click OK.

See Also

Tasks

How to: Check In an Item Using a SourceSafe Plug-in
How to: Reconcile File Differences
How to: Undo a Checkout

Reference

Check In Dialog Box (Explorer and Plug-in)
SourceSafe Options Dialog Box, General Tab