Adding Items to a Working Copy

To add unversioned items to a working copy:

  1. Select one or more unversioned items in the working copy browser.
  2. Select Working Copy > Add to Working Copy (key equivalent ⌘D).
  3. Alternatively, right-click on the items to add and select Add to Working Copy or click the Add button in the file browser toolbar.

Recursively Adding Items

By default, folders are added without their contents also being added. While this affords you great flexibility in selecting which files to add, it can make it tedious to add a deep hierarchy of files and folders.

Cornerstone therefore provides the option to recursively add a folder and all its sub-items in one go.

  1. Select one or more unversioned folders in the working copy browser.
  2. Click and hold the Add button in the file browser toolbar until the popup menu is displayed.
  3. Select Add to Working Copy with Contents from the popup menu.

You can also use the following alternate menu function:

  1. Select one or more unversioned folders in the working copy browser.
  2. Press the Shift key while accessing the Working Copy menu.
  3. Select Add to Working Copy with Contents (key equivalent ⇧⌘D).
  4. Alternatively, right-click to display the action menu, press the Shift key and select Add to Working Copy with Contents.

See Alternate Menu Functions for more information on Cornerstone’s alternate menu functions.

Undoing an Add

Files which have been added to a working copy are scheduled for addition to the repository with the next commit. You can undo the add at any time before the commit by reverting the added files or folders. This will revert them to their original, i.e. unversioned state.

To undo an add:

  1. Select the added files or folders.
  2. Select Revert to Last Update (key equivalent ⌘L) from the Working Copy menu.
  3. The files are reverted back to their initial unversioned state.