[英]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.