[英]'git branch -a' still showing deleted remote branch in the remote repo?
I have uploaded (pushed the entire local branch) to the remote repo. 我已将(推送整个本地分支)上传到远程仓库。 I have merged it with master and deleted it in the remote repo (on github.com)
我已经将它与master合并并在远程仓库中删除了它(在github.com上)
Running git branch -a
still shows it in the console: 运行
git branch -a
仍然在控制台中显示它:
$ git branch -a
* master
remotes/hivauz/master
remotes/hivauz/new_local_branch
What's the reason, does github need time to update it? 是什么原因,github是否需要时间来更新它?
您必须运行git fetch --all --prune
才能删除本地环境中的远程分支引用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.