最佳答案
来自手册页:
Deletes all stale tracking branches under <name>. These stale branches have already been removed from the remote repository referenced by <name>, but are still locally available in "remotes/<name>".
所以我移除了一些树枝
git push origin :staleStuff
然后就跑了
git remote prune origin
然而,只修剪了一个本地分支。这些分支机构有些是我创建的,有些是同事创建的。这是否意味着我一开始没有正确追踪那些树枝?