title: Github windows: Commit failed: Failed to create a new commit... continued issues
body: <p>So it appears that I have the exact same problem as the individual who asked this question...</p>
  
  <p><a href="https://stackoverflow.com/questions/11229843/github-windows-commit-failed-failed-to-create-a-new-commit">Github windows: Commit failed: Failed to create a new commit</a></p>
  
  <p>I followed the steps suggested in the top voted answer yet it did not fix my problem. 
  I then did what the third top ranked answer suggested...removing the index.lock file form the .git folder...yet this did not resolve the problem either as it seems that the index.lock file keeps getting regenerated when I try to commit again. </p>
  
  <p>Anyone have any  suggestions? </p>
  
  <p>Thanks in advance! </p>
  
  <hr>
  
  <p>Ok so I've come to a realization that some process has a lock on the .git\index file...after reading this indivual's post... <a href="https://stackoverflow.com/questions/13635429/git-rename-from-index-lock-to-index-failed">Git rename from index.lock to index failed</a>…... how would I find out what this process is?</p>
  
  <p>I can then kill that process and continue</p>
  
  <hr>
  
  <p>So guys this is the full steps I had to take in order to fix the problem...</p>
  
  <p>1) Using Process Explorer (you can download it form here <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" rel="nofollow noreferrer">http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx</a>) I searched for any process referencing ".git\index" and then I killed it.</p>
  
  <p>2)Then using Git Shell (Windows Power Shell) I went into the repository which was giving me such difficulty and then furthermore went into its .git folder. (cd .\your_respository_name.git). I then removed the index.lock file in that directory (rm -r index.lock).</p>
  
  <p>3)Then from within that same directory I ran git reset HEAD.</p>
  
  <p>4)Then I manually committed each file using the "git add [file_name]" comand. (You can check that they were added successfully if when you run git status, the files are green.</p>
  
  <p>5)Next run git commit if your files are added correctly.</p>
  
  <p>6)Finally go back to github for windows and sync everything up and it should hopefully work and resolve the problem.</p>