Safely identifies and removes merged, stale, and orphaned Git branches.
git branch --show-current
git remote show origin | findstr "HEAD branch"
git branch -a --format "%(refname:short) %(upstream:short) %(committerdate:short)"
Merged: already in main/master
Stale: no commit in 90+ days
Orphaned: no upstream tracking
Active: recent commits under 30 days
Merged branches (safe to delete):
feature-old-login -> DELETE
bugfix-typo-2024 -> DELETE
Protected (do not delete):
main <- current
develop
Commands: git branch -d (safe) or git branch -D (force)
Remote: git push origin --delete branch-name
共 1 个版本
暂无安全检测报告