You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VSTS已删除分支的保留时长及可恢复期限咨询

Deleted Branch Retention & Recovery Window in VSTS (Azure DevOps)

Hey there! Let’s clear up your questions about how long VSTS keeps deleted branches and how long you have to recover them:

  • Default Retention Duration: Out of the box, VSTS retains soft-deleted branches for 90 days. This is your recovery window—you can use exact match search to get back any deleted branch within this 90-day period.
  • Customizable Retention Policies: If your team needs a longer or shorter window, you can adjust this setting at the organization level. Navigate to Organization Settings > Repos > Retention Policies where you can set a custom duration (ranging from 7 to 365 days, depending on your subscription plan).
  • Permanent Deletion: Once the retention period ends, the deleted branch is permanently erased from the system, and there’s no way to recover it after that point.

Just a quick note: this soft-deletion and retention rule applies to most common branch types like feature, bugfix, or release branches. Make sure to initiate the recovery process before the window closes if you need that branch back!

内容的提问来源于stack exchange,提问作者Sajeetharan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.21 06:27:26