我已经上传(推到整个本地分支)到远程仓库。 我已经将它与master合并,并在远程仓库中(在github.com上)将其删除了。
运行git branch -a
仍会在控制台中显示它:
$ git branch -a
* master
remotes/hivauz/master
remotes/hivauz/new_local_branch
这是什么原因,github是否需要时间对其进行更新?
答案 0 :(得分:5)
您必须运行git fetch --all --prune
才能在本地环境中删除远程分支引用。