initializing/creating files in CM repository using scm comma
One answer
It's easy with RTC and it's easy with the CLI too.
Here's a quick and easy recipe for getting started. If you haven't already done so, II recommend that you take a look at the online docs and the CLI's help ($ scm help).
0. Login to your repo and give it a nickname of 'l' (as in "local").
1. Create a new repo workspace:
$ scm create workspace -r l myNewWorkspace
Workspace (6076) "myNewWorkspace" successfully created
Component (6077) "myNewWorkspace Default Component" successfully created
2. Share your files into that workspace:
$ scm share -r l myNewWorkspace 6077 /tmp/shareDir/files4u
Uploading files...
Shared successfully
3. List the contents of the remote workspace
$ scm list remotefiles -r l myNewWorkspace 6077
/
/files4u/
/files4u/someFile
/files4u/.project
NOTES:
- '6077' is the alias of the component named "myNewWorkspace Default Component". The alias is shorter to type, so I used that. I could have used the full name.
- Other directories can be shared out of /tmp/shareDir
Here's a quick and easy recipe for getting started. If you haven't already done so, II recommend that you take a look at the online docs and the CLI's help ($ scm help).
$ scm create workspace -r l myNewWorkspace
Workspace (6076) "myNewWorkspace" successfully created
Component (6077) "myNewWorkspace Default Component" successfully created
$ scm share -r l myNewWorkspace 6077 /tmp/shareDir/files4u
Uploading files...
Shared successfully
$ scm list remotefiles -r l myNewWorkspace 6077
/
/files4u/
/files4u/someFile
/files4u/.project
NOTES:
- '6077' is the alias of the component named "myNewWorkspace Default Component". The alias is shorter to type, so I used that. I could have used the full name.
- Other directories can be shared out of /tmp/shareDir