Question

When I shelve some code in VS 2012 to TFS 2012, my changes will be uploaded to a server or kept locally, and when I check in will these changes upload all shelves at same time to the server?

Was it helpful?

Solution

When creating a shelveset, the shelveset is created on the server so your changes are at least stored on the server. You can choose whether you want to preserve your changes locally. If you do choose not to preserve your changes locally, the changes on the files that are included in the shelveset are undone.

Shelvesets are independent from check-ins, meaning that you always check in the changes that are contained in a workspace. It does not matter whether they originate from local changes or un-shelving one (or more) shelvesets. A check-in does not affect any shelvesets, they will stay on the server.

For details on shelvesets see this link.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top