ClearCase Support: Creating Elements
Ever wonder how to add a file to source control in ClearCase from the command line. Here's how. First, check out the directory where you want to create a new file in a VOB. Second, run this command:
|
cleartool mkelem -ci -nc FILE_NAME |
|---|
Finally, check in the new element’s parent directory.
If you want to create a new empty directory in the VOB, then run this command instead:
|
cleartool mkelem -ci -eltype directory -nc DIRECTORY_NAME |
|---|
by Phil B.
