Git查看本地仓库关联关系以及清理无效远程分支

git remote show origin  //git 查看远程仓库,以及与本地仓库的关系
git remote prune origin  //清理无效远程分支

 git remote prune origin --dry-run //查看哪些分支需要清理
原文地址:https://www.cnblogs.com/wt645631686/p/13819236.html