To check in files and directories

About this task

Procedure

  • To check in files and directories from a command prompt:
    1. In a view, use cleartool checkin.
      cleartool checkin list-of-elements
      On the UNIX system or Linux and on Windows systems, you are prompted to accept the default or enter a new comment that will overwrite the original.
    2. Type any comments and press Return. Then, on a blank line, do one of the following:
      • On the UNIX system or Linux, type a period or press Ctrl+D.
      • On the Windows system, type a period and press Return.
      UNIX system and Linux tip: You can cancel the operation by entering a standard interrupt signal such as Ctrl+C before typing a period or pressing Ctrl+D.
      Windows tip: You can cancel the comment overwrite by entering a standard interrupt signal such as Ctrl+C before pressing return. The checkin completes using the default comment.
  • On Windows systems only, you can check in using DevOps ClearCase® Explorer or Windows Explorer.
    1. In ClearCase Explorer or Windows Explorer, access the view and select checked-out files or directories.
    2. Access the DevOps Code ClearCase pop-up menu by doing one of the following:
      • In ClearCase Explorer, right-click the selection.
      • In Windows Explorer, right-click the selection and click ClearCase.
    3. Click Check In. The Check In window opens.
    4. In the Comment field, you may overwrite or append to the comment you entered when you checked out the file or folder.
    5. Perform one of the following actions:
      • To check in one file only, click OK.
      • To use the current settings in this window for all selected items, click Apply to All.
      • To interrupt the checkin process and to leave this and any remaining items checked out, click Cancel.