惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
P
Privacy International News Feed
T
Tenable Blog
L
Lohrmann on Cybersecurity
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Threat Research - Cisco Blogs
S
Securelist
C
CXSECURITY Database RSS Feed - CXSecurity.com
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
S
Schneier on Security
P
Privacy & Cybersecurity Law Blog
Vercel News
Vercel News
Cyberwarzone
Cyberwarzone
月光博客
月光博客
T
The Blog of Author Tim Ferriss
Scott Helme
Scott Helme
爱范儿
爱范儿
Stack Overflow Blog
Stack Overflow Blog
C
Cisco Blogs
aimingoo的专栏
aimingoo的专栏
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Proofpoint News Feed
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LangChain Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
阮一峰的网络日志
阮一峰的网络日志
Simon Willison's Weblog
Simon Willison's Weblog
T
Tor Project blog
Security Latest
Security Latest
Blog — PlanetScale
Blog — PlanetScale
G
GRAHAM CLULEY
V
Vulnerabilities – Threatpost
博客园 - 三生石上(FineUI控件)
I
InfoQ
Spread Privacy
Spread Privacy
B
Blog RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
S
SegmentFault 最新的问题
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
MongoDB | Blog
MongoDB | Blog
C
CERT Recently Published Vulnerability Notes
A
About on SuperTechFans
博客园_首页
Engineering at Meta
Engineering at Meta
Project Zero
Project Zero
Latest news
Latest news

博客园 - danzhang

第十三年的MVP勋章:感谢这片技术社区 Azure DevOps Server:2026年6月份补丁(无法移除用户) 在Github的企业Enterprise中开通Copilot 在Azure DevOps Server中实现用户端原地址透传(X-Forwarded-For) Azure DevOps Server:2026年4月份补丁(安装详细步骤) Azure DevOps:应用远程MCP服务器,提升工作效率 Azure DevOps Server:2026年3月份补丁 Azure DevOps Server:扩充数据库服务器的磁盘 Azure DevOps Server:使用团队日历 Azure DevOps Server:2026年二月补丁(Patch 8) Azure DevOps:迭代看板简洁视图 Azure DevOps Server 正式版本发布 Azure DevOps Server:复制markdown文档中的代码块 Azure DevOps Server:允许讨论但不允许修改工作项 Azure DevOps Server 2022.2 补丁(Patch 7) 在Azure DevOps Server中分析Git代码库的健康状况 Azure DevOps Server 25H2 安装手册 Azure DevOps Server 25H2 最新版本发布 使用Azure DevOps MCP和Playwriht,将功能测试用例转换为自动化测试用例 使用Azure DevOps MCP服务器,在开发过程中应用GitHub Copilot人工智能 在VS Code中使用Playwright实现自动化测试(UI测试) Azure DevOps Server 2022.2 补丁(Patch 6) 在Azure DevOps的工作项中使用markdown
Azure DevOps:移除TFVC中过时的签入策略
danzhang · 2026-02-28 · via 博客园 - danzhang

Contents

  • 1. 概述
  • 2. 替换签入策略的方法

1. 概述

在 Azure DevOps 中,TFVC(Team Foundation Version Control)的签入策略是一种质量控制机制,用来确保开发人员在提交代码时满足团队设定的要求,它能帮助团队保持代码库的规范性和一致性,例如变更集注释策略强制开发人员在签入时填写注释,确保变更的目的和内容有清晰记录;例如工作项关联策略,每次签入必须关联一个或多个工作项(如 Bug、任务),确保代码变更与需求或问题跟踪挂钩。

由于微软对Azure DevOps签入策略的存储机制发生了大的变化,原来旧的签入策略都被标记上了“过时”,取而代之的是全新的存储机制;对于用户而言,为了给用户更换签入策略的时间,微软确定了三个阶段:

  • 第一阶段:微软发布了新的签入策略,用户可以在这个阶段自由使用新旧两种策略
    在这个阶段,用户选择任何一种签入策略,都会发生作用

  • 第二阶段:微软禁止用户使用过时的签入策略,就是说用户只能选择新的签入策略
    在这个阶段,用户不能选择过时的签入策略,否则无法完成保持操作;但是你可以移除过时的签入策略,再添加新的签入策略;
    目前正是处于这个阶段。

  • 第三阶段:完全禁用过时的签入策略
    在这个阶段,用户不能对过时的签入策略做任何操作,如果需要移除过时的签入策略,你需要使用接口或其他方式;
    预计2026年3月份就会开始这个阶段

因此,如果你还在Azure DevOps中使用TFVC的签入策略,应该尽快将过时的签入策略替换为新的签入策略,否则后续会非常麻烦。

2. 替换签入策略的方法

下面介绍如何替换签入策略的操作方法

  • 首先,使用Visual Studio的团队自由管理器连接到Azure DevOps的团队项目中,并导航到设置界面
    image

  • 在设置界面选择源代码管理
    image

  • 在弹出的设置界面中,移除标记了“过时”的签入策略,并添加同名的签入策略,保持即可
    image

https://www.cnblogs.com/danzhang
Azure DevOps MVP 张洪君

image