How to undo checkout an element using cleartool command line tool in clearcase?
Description. For one or more elements, the checkout command checks out a branch (typically, the most recent version on a branch). In most cases, this creates a writable copy of that version in the current view (the checked-out version), but see the section Checking out a DO version. An appropriate message is displayed.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With