Articles tagged #git


UMB.FYI
2025-04-02

📰 QuickTip: Clean Up Old Git Branches with PowerShell

Johan Reitsma shares a PowerShell script designed to automate the cleanup of local Git branches that no longer exist remotely. The script checks if a folder is a Git repository, fetches remote branch info, identifies obsolete local branches (excluding 'develop'), and prompts for confirmation before deletion, streamlining branch management.

UMB.FYI
Archive Polls Tips Firehose Privacy About

UMB.FYI is built with ❤ by the Umbraco community and is not affiliated with Umbraco HQ