Refresh each branch of a repository on its own terms
A repository's branches no longer have to refresh alike. Branch refresh rules, on the repository's Settings tab, set for each branch whether it refreshes, how often, and the version line its refreshes land in. See Branch refresh rules.
- Rules by name or pattern.
main, orrelease/*for every release branch. The most specific rule wins, and a branch no rule matches follows the repository. - Per-branch cadence and switch. Refresh
mainevery 5 minutes, release branches every 6 hours, and never refreshsandbox. A push to a branch whose rule is off does nothing. - Version lines. A refresh of a release branch lands in
2.x, labelled2.x-2026-11-03T21:00Zand following the latest version of that line. - Tracked branches shows how each branch refreshes and which rule decided it.
- CLI and API.
apiome repository branch-rules show|set|remove|clear, andGET/PUT …/repositories/{repo}/branch-refresh-rules.
