今天遇到一个问题,同事删除远程分支后,我用
git branch -a
仍然能够看到
git remote prune origin |
Doc:
prune
Deletes all stale remote-tracking branches under. These stale branches have already been removed from the remote repository referenced by , but are still locally available in “remotes/ “.
With –dry-run option, report what branches will be pruned, but do not actually prune them.