刪除已刪除遠端分支的本地副本

如果已刪除遠端分支,則必須告知你的本地儲存庫修剪對它的引用。

要從特定遠端修剪已刪除的分支:

git fetch [remote-name] --prune

修剪所有遙控器中已刪除的分支 :

git fetch --all --prune