eclipse中git切换分支失败

在eclipse中git切换分支经常失败,一般报下面的错误

Branch failed
Could not rename file

解决办法是手动GC

preferences->general->show heap status

这样下面就显示会显示内存,边上删除按钮就是GC用

分支切换失败,点下GC按钮即可

原文地址:https://www.cnblogs.com/caihemm/p/13257574.html