📅  最后修改于: 2022-03-11 14:49:34.610000             🧑  作者: Mango
# this is powershell script for Windows execution
git checkout master;
git remote update origin --prune;
git branch -vv | Select-String -Pattern ": gone]" | % { $_.toString().Trim().Split(" ")[0]} | % {git branch -d $_}