How to remove particular file of a changeset?

2019-06-11 06:37发布

问题:

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

回答1:

Follow the steps below:

  1. Roll back the changset:

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

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



回答2:

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.



标签: tfs changeset