sarat
sarat

Reputation: 11120

Undo checkout using cleartool

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

Upvotes: 14

Views: 21642

Answers (1)

VonC
VonC

Reputation: 1323553

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.

Upvotes: 22

Related Questions