Rollback a single file in TFS

前端 未结 4 1512
隐瞒了意图╮
隐瞒了意图╮ 2021-02-06 20:07

If I view the history of a single file in source control I can right hand click a change-set in the list and choose \"rollback back entire change-set\".

Will this rollba

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-06 20:56

    Yes, rolling back the entire changeset will roll back all the changes in it.

    However, a Rollback is not instant, when you click that option the rollback will be perform a reverse merge and leave the changes in your workspace. So you can look at them in Pending Changes.

    In your case, just perform the Rollback and then undo everything except the file you actually want to Rollback.

提交回复
热议问题