Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stuck on Git on Windows: Can't checkout, can't stash, can't commit

Tags:

git

github

I'm stuck... If I do git stash I get:

Fatal: Unable to create /index.lock: File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue.

After manually removing index.lock, I get:

Rename from .git/index.lock to .git/index failed. Should I try again? (y/n)

git checkout master:

 Rename from .git/index.lock to .git/index failed. Should I try again? (y/n)

git commit via GitHub:

Unable to create a new commit

What can I do?

like image 734
luqita Avatar asked Sep 20 '13 14:09

luqita


1 Answers

Solved it using the universal fix for all software problems: restarted the computer.

like image 92
luqita Avatar answered Oct 10 '22 11:10

luqita