例如,我删除了github.com中的patch-1分支,并运行git fetch origin
更新本地仓库以跟踪远程,但命令git branch -a
仍显示我本地仓库跟踪remotes/origin/patch-1
。
$ git branch -a
* master
origin
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/patch-1
那么,如何更新我的本地回购?
THX!