命令 tf vc scorch 有什么作用? [英] What does the command tf vc scorch do?

查看:26
本文介绍了命令 tf vc scorch 有什么作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 TFS 构建的构建日志中,我看到了命令 tf vc scorch 的使用.这看起来很有趣,似乎类似于 git clean 并且可能非常有用,但由于某些奇怪的原因 scorch 没有记录.这是一些不适合公共使用的内部事物吗?

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?

键入 tf vc/? 不会列出 scorch 命令,tf vs scorch/? 不会解释参数.它也未在文档中列出.microsoft.com.

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?

推荐答案

添加/?"到命令行会给你一个命令及其参数的描述

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

tf.exe vc scorch /?

结果是:

Microsoft (R) TF - Team Foundation 版本控制工具,版本 15.117.26830.0版权所有 (c) 微软公司.保留所有权利.

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]

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

添加 23/10:在 link 澄清了添加 /diff 将强制算法比较仍然只读的文件,以确保它们实际上与工作区版本没有变化.

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.

这篇关于命令 tf vc scorch 有什么作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆