Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
670 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 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...