We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
englianhu@Scibrokes:~/文档/GitHub/binary.com-interview-question-data$ git init 重新初始化已存在的 Git 仓库于 /home/englianhu/文档/GitHub/binary.com-interview-question-data/.git/ englianhu@Scibrokes:~/文档/GitHub/binary.com-interview-question-data$ git add -A fatal: 无法创建 '/home/englianhu/文档/GitHub/binary.com-interview-question-data/.git/index.lock':文件已存在。 似乎另外一个 git 进程在这个仓库中运行,例如:'git commit' 命令打 开了一个编辑器。请确认所有进程都已经关闭然后重试。如果仍然报错, 可能之前有一个 git 进程在这个仓库中异常退出: 手动删除这个文件再继续。
sudo rm -f ./.git/index.lock
englianhu@Scibrokes:~/文档/GitHub/binary.com-interview-question-data$ sudo rm -f ./.git/index.lock
参考文献:
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
sudo rm -f ./.git/index.lock
解锁即可。参考文献:
The text was updated successfully, but these errors were encountered: