title: git index.lock File exists when I try to commit, but cannot delete the file
body: <p>When I do 'git commit', I'm getting the following:</p>
  
  <p><code>fatal: Unable to create 'project_path/.git/index.lock': File exists.</code></p>
  
  <p>However, when I do <code>ls project_path/.git/index.lock</code> it's saying the file doesn't exist. Any thoughts on what I should do? I've also noticed that project_path/.git is owned by root, not sure if that has anything to do with the problem I'm encountering.</p>
  
  <p>git version is 1.7.5.4</p>
  
  <p>edit: It seems that the problem most likely was another process I had running, that was writing (unbeknownst to me) to the project directory. I restarted my machine and then I had no problem committing.</p>