Shelving Pending Changes in TFS
When you shelve the changes, there is a checkbox towards the bottom “Preserve pending changes locally”. Uncheck that and it will undo the checkouts on the files as it builds the Shelf. Also, once a shelf is created you can safely undo the checkouts yourself; Same result but I consider the checkbox a little safer … Read more