To cancel a checkout

About this task

If you do not want to check in your changes or you want to start with fresh copy, you can cancel (undo) a checkout using the command line:
cleartool uncheckout path
On Windows systems only, you can also cancel (undo) a checkout from DevOps ClearCase® Explorer or Windows Explorer:

Procedure

  1. From ClearCase Explorer or Windows Explorer, right-click the file or directory.
  2. On the DevOps Code ClearCase shortcut menu, click Undo Checkout. The Confirm undo checkout window opens. Select or clear Save copy of the file with a '.keep' extension.
  3. Click Yes.