Undo checkout using cleartool
Asked Answered
M

1

14

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

Methylene answered 1/8, 2011 at 6:13 Comment(0)
G
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.

Goya answered 1/8, 2011 at 6:14 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.