共用方式為


VSTS Gems- Identify stale branches

VSTS is a great platform, but did you know about its gems?

Follow this short post series where we undercover some of its coolest features.

Gem

Identify stale branches

<click> on image for animation.

Area

Code

TFS Availability

TFS 2018

Value

  • Maintaining a clean repository when there are many branches and contributors

Full Description

Keeping your repository clean by deleting branches you no longer need enables teams to find branches they care about and set favorites at the right granularity. However, if you have lots of branches in your repo, it can be hard to figure out which are inactive and can be deleted. Now it is easier to identify “stale” branches (branches that point to commits older than 3 months).
To see your stale branches, go to the Stale pivot on the Branches page.

Find more gems on the Rangers blog

Find more gems on Twitter