我一直在寻找相当于的TF.exe命令行 git reset
.我发现TFPT scorch
,但这是用于构建服务器(jenkins),我似乎无法安装(以标准方式)或工作(非标准,复制)电动工具.
还有吗?
一种在构建服务器上安装tfpt.exe的方法(没有,也不能,有Visual Studio)?
一种使用TF.exe命令集合模拟此命令的方法?
Sumo.. 22
您没有指定正在使用的TFS版本.但是,有一个等价物:tf reconcile /clean
.
根据tf
文件:
Microsoft (R) TF - Team Foundation Version Control Tool, Version 12.0.30501.0 Copyright (c) Microsoft Corporation. All rights reserved. Compares the current state of the workspace on disk with the server's view, either to clean the workspace or to promote unpended local changes. tf reconcile /clean [/diff] [/noprompt] [/preview] [/recursive] [/ignore] [/unmapped] [/exclude:itemspec1,itemspec2,...] [itemspec] tf reconcile /promote [/adds] [/deletes] [/diff] [/noprompt] [/preview] [/recursive] [/noignore] [/exclude:itemspec1,itemspec2,...] [itemspec]
运行:
tf reconcile /clean /diff /noprompt /recursive *.*
相当于:
tfpt scorch *.* /noprompt /recursive /deletes /diff
有趣的是,当前的tf.exe文档中没有此命令.
另外,正如@Jonathan所提到的那样,现在还有一个tf scorch
命令与怪异相似tf reconcile
.如果存在差异,我找不到备份文档.它很可能与使用本地与服务器工作区有关,该工作区于2013年添加,以实现真正的"离线"开发.
您没有指定正在使用的TFS版本.但是,有一个等价物:tf reconcile /clean
.
根据tf
文件:
Microsoft (R) TF - Team Foundation Version Control Tool, Version 12.0.30501.0 Copyright (c) Microsoft Corporation. All rights reserved. Compares the current state of the workspace on disk with the server's view, either to clean the workspace or to promote unpended local changes. tf reconcile /clean [/diff] [/noprompt] [/preview] [/recursive] [/ignore] [/unmapped] [/exclude:itemspec1,itemspec2,...] [itemspec] tf reconcile /promote [/adds] [/deletes] [/diff] [/noprompt] [/preview] [/recursive] [/noignore] [/exclude:itemspec1,itemspec2,...] [itemspec]
运行:
tf reconcile /clean /diff /noprompt /recursive *.*
相当于:
tfpt scorch *.* /noprompt /recursive /deletes /diff
有趣的是,当前的tf.exe文档中没有此命令.
另外,正如@Jonathan所提到的那样,现在还有一个tf scorch
命令与怪异相似tf reconcile
.如果存在差异,我找不到备份文档.它很可能与使用本地与服务器工作区有关,该工作区于2013年添加,以实现真正的"离线"开发.