eclipse: “re-indexing repository workspace” or “Computing Git status for repository workspace”

混江龙づ霸主 提交于 2019-12-05 10:21:58

This was an old bug in EGit where it automatically found the .git in your home directory and then scanned all the files in the home directory. It has been fixed in newer versions of EGit.

But you may still have the repository configured, even after you upgraded. Do the following:

  1. Open the Git Repositories view
  2. Find the repository that causes the problem
  3. In the context menu, select Remove Repository from View

Then restart Eclipse.

In my case, this is my solution

Ubuntu 16.04

rm -r workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/*/org.eclipse.egit.core
rm -r workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/*/.indexes/properties.index
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!