Friday, February 8, 2008

Shelve/unshelve

Today, I used the Shelve/unshelve features in TFS 2008 for the first time. I had made some major changes to our project and wasn't ready to check them in, but a bug came up in the class that needed to be fixed right away. So I "shelved" my current changes and unchecked the "preserve changes" option. I then had the same version as TFS. Fixed the bug, checked it in, and after that "unshelved" my changes. I was back and ready to test my original changes. Much, much easier than making a zipped copy of the project directory and having to extract those files back after checking in the other fix.

0 comments: