问题描述 :
查看所有分支使用命令git branch --all
feature-tmp
feature-tmp-no-ad
feature-tools
feature-tools-dev
feature-trend
feature-trend-paint
feature-wangcai
feature-wangcai-no-ad
remotes/origin/HEAD -> origin/feature-release
remotes/origin/cherry-pick-3afe883a
remotes/origin/dev-hhz
remotes/origin/feature-add-newvideo
remotes/origin/feature-add-video
remotes/origin/feature-buy-lottery
remotes/origin/feature-changepassword
remotes/origin/feature-comment
remotes/origin/feature-dev-bussinus
发现当前远程分支未包含:
remotes/origin/feature-buy-lottery
remotes/origin/feature-changepassword
remotes/origin/feature-comment
remotes/origin/feature-dev-bussinus
这四个分支已经从远程分支中删除 但是 本地分支并不知道当前这几个远程分支是否被删除 下面我们可以使用命令:
git remote show origin
看到当前我们本地代码库所有远程分支:
feature-tools