【前提:本地项目是从GitLab或gitHub这些远程仓库上拉下来的 ,而且本地安装了git】git
=================================================================================bash
git remote update origin --prune
以下图工具
【须要注意: 若是你的remote branch不是在origin下,按你得把命令中的 origin 换成你的名字。】开发工具