How to use shelving to backup pending work

- J.D. Meier, Jason Taylor, Alex Mackman, Prashant Bansode

To back up pending changes to the server, shelve the files that you are not yet ready to check in. This ensures that the source is uploaded to the server without checking in partially completed work that could potentially lead to build instability.

To shelve a set of pending changes
  1. View the pending changes by right-clicking your solution in Solution Explorer and then clicking View Pending Changes.
  2. Select the files you want to shelve and then click Shelve.
  3. Type a shelveset name and a comment that identifies the purpose of the shelveset, and then click Shelve.

To restore your work the following day
  1. On the File menu, point to Source Control and then click Unshelve.
  2. Select the required shelveset and click Unshelve.
Team Foundation Server restores each shelved revision into the destination workspace as a pending change, as long as the revision does not conflict with a change that is already pending in your workspace.

Additional Resources

Last edited Jul 31, 2007 at 4:23 PM by prashantbansode, version 7

Comments

No comments yet.