0
我们在TFS(Root“PROD”,QA,Development“DEV”)中有3个主要的Repoes分支,我们有一些问题,我们的迁移文件有时会在3个Repoes之间不同步。只是我想问一下,如果您从开发合并到质量检查,我们是否应该从checkIn中排除迁移文件,并仅检查checkIn配置文件?特别是Dev和QA之间?工作流程:从TFS中的checkIn中排除迁移文件?
注:有时会有许多子分支从开发
我们在TFS(Root“PROD”,QA,Development“DEV”)中有3个主要的Repoes分支,我们有一些问题,我们的迁移文件有时会在3个Repoes之间不同步。只是我想问一下,如果您从开发合并到质量检查,我们是否应该从checkIn中排除迁移文件,并仅检查checkIn配置文件?特别是Dev和QA之间?工作流程:从TFS中的checkIn中排除迁移文件?
注:有时会有许多子分支从开发
您可以创建一个.tfignore文件。 https://msdn.microsoft.com/en-sg/library/ms245454(v=vs.140).aspx
######################################
# Ignore .cpp files in the ProjA sub-folder and all its subfolders
ProjA\*.cpp
#
# Ignore .txt files in this folder
\*.txt
#
# Ignore .xml files in this folder and all its sub-folders
*.xml
#
# Ignore all files in the Temp sub-folder
\Temp
#
# Do not ignore .dll files in this folder nor in any of its sub-folders
!*.dll
另一种方法是使用策略检查(禁格式的策略)在TFS Power Tools,如何在策略中添加检查,请参阅从MSDN的link。