git同步远程已删除的分支

  1. git branch -a 查看全部分支

  2. git remote show origin 查看分支状态

  3. git remote prune origin 同步已删除的分支