Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
667 views
in Technique[技术] by (71.8m points)

tf cli - What does the command tf vc scorch do?

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...