如何更改 TFS 中源代码管理的默认设置?
How to change default settings for source control in TFS?
在我的 TFS 服务器中,每当我创建一个团队项目时,我的 多重检出 的默认设置是启用的,并且 检出时获取最新设置 被禁用。我想将它们设置为 Multiple Checkout: disabled 和 Get latest on check-out: enabled.
如何更改 TFS 服务器 2013 中源代码管理的默认设置?
与 2005 年以来的情况一样,您可以在流程模板中对其进行自定义。
https://msdn.microsoft.com/en-us/library/ms243831.aspx
您可以使用这些设置创建自定义过程模板并使用它创建新的团队项目。
我找到了我的答案here:
You need to edit your Process Template.
At first, download it locally by selecting in VS "Team" > "Team
Project Collection Settings" > "Process Template Manager...", then
click on your template & select Download. This will send all the files
on you local PC.
Now open the local file "..\VersionControl\VersionControl.xml" and
change entry into true.
Return to "Team" > "Team Project Collection Settings" > "Process
Template Manager..." and now select Upload.
Once this is done any new Team Project you generate will have this
option "Enable multiple check-out" unset by default.
发送至@Damien_The_Unbeliever
在我的 TFS 服务器中,每当我创建一个团队项目时,我的 多重检出 的默认设置是启用的,并且 检出时获取最新设置 被禁用。我想将它们设置为 Multiple Checkout: disabled 和 Get latest on check-out: enabled.
如何更改 TFS 服务器 2013 中源代码管理的默认设置?
与 2005 年以来的情况一样,您可以在流程模板中对其进行自定义。
https://msdn.microsoft.com/en-us/library/ms243831.aspx
您可以使用这些设置创建自定义过程模板并使用它创建新的团队项目。
我找到了我的答案here:
You need to edit your Process Template.
At first, download it locally by selecting in VS "Team" > "Team Project Collection Settings" > "Process Template Manager...", then click on your template & select Download. This will send all the files on you local PC.
Now open the local file "..\VersionControl\VersionControl.xml" and change entry into true.
Return to "Team" > "Team Project Collection Settings" > "Process Template Manager..." and now select Upload.
Once this is done any new Team Project you generate will have this option "Enable multiple check-out" unset by default.
发送至@Damien_The_Unbeliever