TF.exe相当于TFPT.exe scorch

 孤鹜1101 发布于 2023-02-12 16:41

我一直在寻找相当于的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年添加,以实现真正的"离线"开发.

1 个回答
  • 您没有指定正在使用的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年添加,以实现真正的"离线"开发.

    2023-02-12 16:43 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有