About Shelving

Shelving enables you to store local changes in a personal stream in a repository and optionally remove the changes from a work area. You can use shelving to:

You can remove changes from a work area that you do not want to deliver to the associated stream when:

After the shelving operation is complete you reset the work area to the latest repository content.

When you are sharing a stream with other developers but are not ready to deliver your local changes, you can backup your work by committing it to a personal stream. This creates a snapshot of the work area at that point in time. When creating backups you keep the local changes and do not need to reset the work area.

When you are ready to resume work on the shelved changes you can restore them by merging the personal stream back into the work area.

Typical shelving scenario: