gpt4 book ai didi

git - 卡在 Windows 上的 Git : Can't checkout, 无法存储,无法提交

转载 作者:太空狗 更新时间:2023-10-29 12:44:53 32 4
gpt4 key购买 nike

我卡住了...如果我执行 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.

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

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

git checkout 大师:

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

通过 GitHub 提交 git:

Unable to create a new commit

我能做什么?

最佳答案

使用所有软件问题的通用修复解决了它:重新启动计算机。

关于git - 卡在 Windows 上的 Git : Can't checkout, 无法存储,无法提交,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18919650/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com