简体   繁体   English

TFS默认检查-覆盖可写文件并覆盖所有文件以获取特定版本

[英]TFS check as default - overwrite writeable files and overwrite all files for get specific version

How can TFS be configured to select by default the two checkboxes "Overwrite writeable files that are not checked out" and "Overwrite all files even if the local version matches the specified version" when doing a Get Specific Version? 在获取特定版本时,如何将TFS配置为默认选择两个复选框“覆盖未签出的可写文件”和“即使本地版本与指定的版本也覆盖所有文件”两个复选框?

I am using TFS 2013. My real goal is to automate the process of right clicking a folder, selecting Advanced, and then clicking the two checkboxes. 我正在使用TFS2013。我的真正目标是自动化以下过程:右键单击文件夹,选择“高级”,然后单击两个复选框。 I have created a keyboard shortcut to pull up the window for Get Specific version, but I also want to have the two checkboxes selected by default. 我已经创建了一个键盘快捷方式来拉出“获取特定版本”的窗口,但是我也想默认选中两个复选框。 I do not want this scripted through the command line as I still want to have the window popped up and manually perform the final step to hit the Get button. 我不希望通过命令行编写此脚本,因为我仍然希望弹出窗口并手动执行最后一步以单击“获取”按钮。 Ideally the whole process would work something like Alt-G to pull up the Get Specific Version window, and then manually hit the Get button to complete the action. 理想情况下,整个过程将像Alt-G一样拉出“获取特定版本”窗口,然后手动单击“获取”按钮以完成操作。

There is not option to change this default setting. 没有选项可以更改此默认设置。 Even though you don't want to use command, it seems using command line is the only way to automate the process. 即使您不想使用命令,似乎使用命令行也是自动化过程的唯一方法。

tf get-overwrite

tf get-force

https://msdn.microsoft.com/en-us/library/fx7sdeyf(v=vs.120).aspx https://msdn.microsoft.com/zh-CN/library/fx7sdeyf(v=vs.120).aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 TFS-使用旧版本覆盖文件 - TFS - overwrite files with their older version TFS覆盖所有相同的文件 - TFS overwrite all files that are identical TFS - 如何使用Checkout进行编辑来覆盖文件? - TFS - How to overwrite files by using Checkout for edit? TFS获取特定版本,类型标签删除当前标签中不包括的所有文件 - TFS Get Specific Version, Type Label delete all files that are not included in current label TFS特定的Changeset文件将与最新版本合并 - TFS Specific Changeset files to be merged with latest version 调用“ tfs get”时的/ overwrite参数是什么 - What is /overwrite parameter for when calling “tfs get” 默认情况下将所有文件添加到带有TFS的Visual Studio - Add all files by default to Visual Studio with TFS 在TFS中,如何为签入强制执行规则,以便在某些类型的文件上不允许覆盖和合并 - In TFS,How can I enforce a rule for checkins ,so that only overwrite and merge is not allowed on certain types of files 如何从VS2010中的后生成脚本覆盖TFS下的签入文件? - How to overwrite checked in files under TFS from a post-build script in VS2010? 检查TFS文件夹中的所有文件是否均为“最新” - Check if all files in TFS folder are “latest”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM