git pull 时自动删除远程已经不在的分支

来源:互联网 发布:化学分子模型淘宝 编辑:程序博客网 时间:2024/05/14 06:56

Git Git 已被其他开发删除的远程分支,本地依旧显示,如何删除?

   git pull -p

拉取分支时自动删除远程分支.

   -p, --prune           prune remote-tracking branches no longer on remote

原创粉丝点击