Adding a file to source control

  1. In the project pane, right-click one or more view-private files and click Add to Source Control.
  2. In the Comment box of the Add to Source Control window, you can enter a comment to describe the work you plan to do on the file or files.
  3. To continue working on the new elements after you add them to source control, set Keep Checked Out.

    When you set this check box, the element is not checked in after it is added to source control. Any content in the view-private file remains checked out to your view. Other views that attempt to check out this file select version /main/0, which is always an empty version.

    When this check box is clear, an element is created and checked in, and the contents of the view-private objects are assigned to version 1.

  4. Do one of the following:
    • To add one file only, click OK.
    • To use the current settings in this window for all selected items, click Apply to All.
    • To interrupt the operation, click Cancel.

For more information, click Help in the Add to Source Control window.

Related concepts
About canceling a checkout
About checking in elements
About checking out elements
About VOBs and views

Feedback