Eclipse errors when trying to go to master git branch
When I try to switch to the master branch in eclipse, I get the error:
Failed to execute Unable to lock / home / pal / workspace / pal -prod / .git / index
Any ideas what is causing this? I was having trouble finding this error (nothing similar appeared).
I'm not sure if my VM is having sizing issues, or why it can't block this.
I am currently at the Bom branch. Eclipse says pal-prod [pal-prod Bom up arror 2] in Project Explorer. I recently pushed changes in linux command line as I had error messages in eclipse when I try to push, commit, etc.
Thanks, Mich
source to share
Read this question and try the solution if the problem description matches yours:
The solution is to remove index.lock if it exists (when eclipse is off and no other process is interacting with the repo)
.lock
files are created when the process is using the repository, so I am assuming the file has .lock
not been deleted properly and Egit still thinks it is busy.
source to share