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

Branch failed
Could not rename file

解决办法是手动GC

preferences->general->show heap status

eclipse中git切换分支失败

 

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

eclipse中git切换分支失败

 

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

 

相关文章: