14

How to undo checkout an element using cleartool command line tool in clearcase?

sarat
  • 10,512
  • 7
  • 43
  • 74

1 Answers1

22
cleartool unco /path/to/element

See the cleartool uncheckout man page

You have two options possible:

–kee/p

Preserves the contents of the checked-out version under a file-name of the form element-name.keep (or, to prevent name collisions, element-name.keep.1, element-name.keep.2, and so on).

–rm

Does not preserve the contents of the checked-out version. Thus, any edits that had been made to the checked-out version are lost.

Nikola Malešević
  • 1,738
  • 6
  • 21
  • 44
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250