Git删除本地所有分支 发表于 2024-08-06 更新于 2026-02-11 分类于 技术 1git branch | grep -v $(git branch --show-current) | xargs git branch -D