经常在idea里找自己想要的分支找不到,原因是本地的分支缓存没有更新为最新的。
用以下命令进行操作即可

git remote prune origin

or

git fetch -p