📌  相关文章
📜  删除远程删除的所有分支 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:41.410000             🧑  作者: Mango

代码示例1
# set this alias in git.config
git config --global alias.gone "! git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '\$2 == \"[gone]\" {print \$1}' | xargs -r git branch -D"
# then run
git gone