SuicideSheep
SuicideSheep

Reputation: 5550

How to remove particular file of a changeset?

As stated in the title, is it possible to remove a particular file within a changeset that been checked in into TFS?

Upvotes: 1

Views: 3030

Answers (2)

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31063

Follow the steps below:

  1. Roll back the changset:

enter image description here

  1. Then you'll see the rollback changes for all files in Pending Changes:

enter image description here

  1. Undo the changes for the files you want to keep, and check in the pending changes:

enter image description here

Upvotes: 4

Tore Østergaard
Tore Østergaard

Reputation: 4602

Basically you cannot change a changeset, but you can make a new one which only rollback parts of the previous changeset as @Cece has specified in his answer.

Upvotes: 1

Related Questions