在Windows上坚持Git:无法结账,无法藏匿,无法提交

luq*_*ita 9 git github

我被困了......如果我做git stash我得到:

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.
Run Code Online (Sandbox Code Playgroud)

手动删除index.lock后,我得到:

Rename from .git/index.lock to .git/index failed. Should I try again? (y/n)
Run Code Online (Sandbox Code Playgroud)

git checkout master:

 Rename from .git/index.lock to .git/index failed. Should I try again? (y/n)
Run Code Online (Sandbox Code Playgroud)

git通过GitHub提交:

Unable to create a new commit
Run Code Online (Sandbox Code Playgroud)

我能做什么?

luq*_*ita 14

使用通用修复程序解决了所有软件问题:重新启动计算机.

  • 应阅读:"解决了它使用通用修复程序解决Windows*中的所有软件问题*:重新启动计算机." (13认同)