Github bug: a lock file already exists in the repository

解决方案:

This may be an old reply but I'm hoping this is more useful on next who need this solution.

On linux/unix/gitbash/cygwin, try

rm -f .git/index.lock

On Windows Command Prompt, try:

del .git\index.lock

Hope that helps, I found this solution here: Fatal: Unable to create ‘…git/index.lock’ File exists

猜你喜欢

转载自blog.csdn.net/Scythe666/article/details/85064041
今日推荐