What does the command tf vc scorch do?

给你一囗甜甜゛ 提交于 2019-11-28 12:26:42

问题


In the build logs of TFS builds I have seen the use of the command tf vc scorch. This looks rather interesting and seems to be something like git clean and could be quite helpful but for some strange reason scorch is not documented. Is this some internal thing that is not intended for public use?

Typing tf vc /? does not list the scorch command and tf vs scorch /? does not explain the parameters. It is also not listed on docs.microsoft.com.

Where can I find its full documentation?


回答1:


Adding a "/?" to the command line will give you a description of the command and its parameters

tf.exe vc scorch /?

Result is:

Microsoft (R) TF - Team Foundation Version Control Tool, Version 15.117.26830.0 Copyright (c) Microsoft Corporation. All rights reserved.

Ensures that your local disk is identical to the server's view of the working copy.

tf vc scorch [/diff] [/noprompt] [/preview] [/recursive] [/ignore] [/unmapped] [/exclude:itemspec1,itemspec2,...] [itemspec]

Addition 23/10: with the help of the link supplied by Andy-MSFT clarifies that adding /diff will force the algorithm to diff files that are still read-only to make sure that they are in fact unchanged from the workspace version.



来源:https://stackoverflow.com/questions/46785939/what-does-the-command-tf-vc-scorch-do

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!