26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Additional Resources<br />

• For more information about shelving pending changes, see “How to: Shelve and<br />

Unshelve Pending Changes” at http://msdn2.microsoft.com/enus/library/ms181404(VS.80).aspx<br />

What is a shelveset?<br />

A shelveset is a set of files that are saved but are not yet ready to be committed to source<br />

control. Files can be shelved in order to save pending changes to the workspace, or to be<br />

shared <strong>with</strong> other team members for feedback. You can also use shelved files to hand off<br />

partially completed work.<br />

Additional Resources<br />

• For more information about shelving pending changes, see “How to: Shelve and<br />

Unshelve Pending Changes” at http://msdn2.microsoft.com/enus/library/ms181404(VS.80).aspx<br />

When would I typically use shelving?<br />

There are a number of common scenarios in which you would use shelving:<br />

• You are midway through making changes to a set of source code when new, higherpriority<br />

work is allocated (for example, an emergency bug fix is required). At this<br />

point you need to go back to a stable version of the code but do not want to lose your<br />

changes. You can shelve your code and easily retrieve it later.<br />

• You have not completed work at the end of the day but want to ensure that your<br />

current work is backed up on the server. By shelving your current changes, the<br />

changes are applied to the <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> and can be retrieved by you (or<br />

others) on another day.<br />

• You want to discuss or review your partially completed code <strong>with</strong> a remote team<br />

member. Rather than e-mailing the code, you can shelve it and then have your remote<br />

colleague retrieve the files from the shelf.<br />

• You want to pass partially finished work to another developer for completion.<br />

Additional Resources<br />

• For more information about shelving pending changes, see “How to: Shelve and<br />

Unshelve Pending Changes” at http://msdn2.microsoft.com/enus/library/ms181404(VS.80).aspx<br />

How do I use shelving to back up my work?<br />

If your work on one or more source files is not complete at the end of the working day,<br />

you can shelve your code to ensure that the source is uploaded to the server <strong>with</strong>out<br />

checking in partially completed work.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!