删除git在本地的无效远程分支

远程已经删除的分支,在本地执行  git  branch  -a 显示还存在,执行以下命令可以清除 

https://fanyi.baidu.com/?aldtype=85#en/zh/prune

git remote prune origin

猜你喜欢

转载自blog.csdn.net/ruanhao1203/article/details/88881911
今日推荐