Upload new items
Add new items to your workspace and upload them to source control.
Add a new item
- In the Explore workspace tab, right-click the folder you want to add a new item to and select New.
- Select either File or Directory depending on what you need to add.
- Enter the name of the new item.
- Select Create.
Upload to source control
When you add a new item, the files are private because they exist in your workspace but you haven’t added them to your version control yet.
The Checkin changes tab shows the added and private files:
- Select any items you want to upload to the repository.
- Enter a comment.
- Select Check in.
Note: To upload file or directory to source control with the command line, run the cm partial add -R
command. Then run the cm partial checkin
command to check in the changes. When you add a new item, the files are private because they exist in your workspace but you haven’t added them to your version control yet.