Is it possible to do a “destroy history” in TFS?

2020-08-26 03:46发布

问题:

Is to possible to "purge" history from a given change set/date in TFS?

So, for example, For file X

destroy all version older than date Y.

or

destroy all version before revision Y.

回答1:

Yes you can - http://msdn.microsoft.com/en-us/library/bb386005.aspx -

TF Destroy $/MyTeamProject /keephistory /stopat:C864