Encountering the following error in Eclipse/Zend Studio while trying to add files in Git?
Check if a file ‘index.lock’ exists in the .git folder located in the root folder of your project.
If so, remove it and you can continue working!
rm .git/index.lock
There is no index.lock, but i still continue to get this error. why?
I have absolutely no idea, sorry. I stopped using this feature in ZS and just do all the git stuff in console.
But you can check for any other *.lock or similar files and give it a try. 😉