How to rollback in Visual Studio TFS?

前端 未结 7 2296
萌比男神i
萌比男神i 2020-12-24 02:02

I\'m working on one sub-module of a large project for which is use VSTS 2008.

I have a need to rollback the module to an earlier version (about 4 check-ins previous)

7条回答
  •  时光取名叫无心
    2020-12-24 02:25

    This has luckily been made much easier in TFS 2012. Now there is a Rollback option from the GUI.

    MSDN has more information on how to do it, and what options are available. Here is the text from MSDN on how to rollback to a specific version:

    To roll back to a specific version:

    1. In Source Control Explorer, select an item, open its shortcut menu, and choose Rollback.
    2. In the Rollback dialog box, select Rollback to a specific version.

    You can of course also rollback entire changesets or a collection of changesets. And you can also easily rollback to a specific point in time if you wish.

提交回复
热议问题