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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Additional Resources<br />

• For more information, see “Securing <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> <strong>with</strong> HTTPS and<br />

Secure Sockets Layer (SSL)”at http://msdn2.microsoft.com/enus/library/aa395265(VS.80).aspx<br />

• For more information on how to set up TFS <strong>with</strong> Secure Socket Layer (SSL), see<br />

“Walkthrough: Setting up <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> <strong>with</strong> Secure Sockets Layer<br />

(SSL)” at http://msdn2.microsoft.com/en-us/library/ms242875(VS.80).aspx<br />

• For more information on how to configure TFS for HTTPS and SSL only, see “How<br />

to: Configure <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> for HTTPS and SSL Only” at<br />

http://msdn2.microsoft.com/en-us/library/aa395285(VS.80).aspx<br />

Shelving<br />

• How to use shelving to back up pending work<br />

• How to use shelving to share code <strong>with</strong> a team member<br />

How to Use Shelving to Back Up Pending Work<br />

To back up pending changes to the server, shelve the files that you are not yet ready to<br />

check in. This ensures that the source is uploaded to the server <strong>with</strong>out checking in<br />

partially completed work that could potentially lead to build instability.<br />

To shelve a set of pending changes<br />

1. View the pending changes by right-clicking your solution in Solution Explorer and<br />

then clicking View Pending Changes.<br />

2. Select the files you want to shelve and then click Shelve.<br />

3. Type a shelveset name and a comment that identifies the purpose of the shelveset, and<br />

then click Shelve.<br />

To restore your work the following day<br />

1. On the File menu, point to Source Control and then click Unshelve.<br />

2. Select the required shelveset and click Unshelve.<br />

<strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> restores each shelved revision into the destination<br />

workspace as a pending change, as long as the revision does not conflict <strong>with</strong> a<br />

change that is already pending in your workspace.<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 to Use Shelving to Share Code <strong>with</strong> a <strong>Team</strong> Member<br />

To shelve source code for sharing <strong>with</strong> a team member, perform a Get Latest operation<br />

to synchronize your workspace <strong>with</strong> the latest server version and then build your

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

Saved successfully!

Ooh no, something went wrong!