Partilhar via


How to: Edit Checked-In Files

You typically must check out source-controlled files before you can edit them. However, you can configure SQL Server Management Studio so that you can modify files you have not checked out. When doing so, your changes are held in memory until you save the files. You will then be prompted to check out the file from source control.

If you work on a team, allowing checked-in files to be edited is not recommended unless your source control provider supports both local version and server version checkouts. Most providers do not support local version checkouts. If your provider does not support local version checkouts and you edit a checked-in file, you have to merge the in-memory and server versions manually before the file can be checked in. Automatic and provider-assisted merges are unsupported in this situation.

To edit checked-in files

  1. On the Tools menu, click Options.

  2. In the Options dialog box, expand the Source Control folder, and then click Environment.

  3. Click Allow checked-in items to be edited, and then click OK.

See Also

Concepts

Managing Checkins
Managing Checkouts

Help and Information

Getting SQL Server 2005 Assistance