2

Eclipse – Adding Files to Git Index problem

Posted December 4th, 2011 in Zanimivosti and tagged , , by Metod

Encountering the following error in Eclipse/Zend Studio while trying to add files in Git?

Adding Files to Git Index problem

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

2 Responses so far.

  1. Basit says:

    There is no index.lock, but i still continue to get this error. why?

    • Metod says:

      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. 😉