ClearCase Support: How to Delete Branches and Branch Types
Here is the command to delete a branch.
For instance, if you wanted to delete the /test/ branch and the branch was branched from the /main/ branch on the file "/vob/test/a.txt", then here is the command.
| $ cleartool rmbranch –nc –force /vob/test/a.txt@@/main/test |
|---|
Alternatively, here is the command to delete an entire branch type. In other words, you wanted to delete all the branches with a certain branch name as well as deleting the branch name.
Keep in mind, this will delete the branch type in only one VOB at a time, so you have to run this command once in each VOB that you want the branch type deleted.
by Phil B.
