Saturday, October 18, 2008

How to use clearcase(2)-- Some Commands

In fact, there are some on-line helps document to help us use clearcase. For example, http://publib.boulder.ibm.com/infocenter/cchelp/v7r0m1/index.jsp


Here I just list some commands generally used:

0. cleartool setview viewname
cleartool setact ACT****
cleartool rebase -g
Those commands are necessary to be done before any of the following commands.

1. cleartool -mkelem ***
This command is to create an element. This element can be a file or directory. Before executing this command, you have to checkout the parent directory.

2. cleartool rename path1 path2
By use of this command, you can move one file to another path. Before executing this command, you have to checkout both of the directory.

3. cleartool co file(or directory)
This command is to checkout the file or directory

4. cleartool ci file(or directory)
This command is to checkin the file or directory

5. cleartool deliver
This command is to deliver your updates to the integration view.

6. cleartool deliver -cancel
Cancel the previous deliver ;

7. cleartool deliver -com
Complete the deliver

No comments: