Categories
Q & A Q & A Code

⨘ } clearcase version control useful commands

Set alias
alias ct /usr/atria/bin/cleartool

Version
ct -ver

List vob
ct lsvob

List views
ct lsview
ct lsview view-tag

Create a tag
ct mktag -view -tag tag-name

Set a view
ct setview view-name

Print current view
ct pwv

List history
ct lshistory file-name

List private files
ct lsprivate

List checkout files
ct lsco -r -l

Create a label
ct mklabel -nc lable-name
ct mklabel -c “comments” label-name

Add file
ct mkelem -nc -ci file-name

Checkout file
ct co -n -unr file-name

Configspec
ct catcs
ct edcs

 5,684 total views,  5 views today

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.