比如,我已经删除了github.com中的patch-1分支,并运行git fetch origin更新本地repo来跟踪远程,但命令git branch -a仍显示我本地repo跟踪remotes/origin/patch-1.
$ git branch -a
* master
origin
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/patch-1
Run Code Online (Sandbox Code Playgroud)
那么,如何更新我的本地回购?
谢谢!