git 场景处理 场景1 远程分支已删除,但本地的远程分支还存在场景二 切换项目git地址 场景1 远程分支已删除,但本地的远程分支还存在 git remote prune origin 场景二 切换项目git地址 git remote set-url origin 地址